Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 88.2 kB / 20.95 MB, free: 3.605 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001597/0.001597, allocations: 169 kB / 24.24 MB, free: 316 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.061/1.061, allocations: 158.6 MB / 186 MB, free: 2.93 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.148/0.148, allocations: 32.37 MB / 270.7 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D_1R.y.[0-9,]+.|der_1R.y|combiTable2D_2R.y.[0-9,]+.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.[0-9,]+.|der_1L.y|combiTable2D_2L.y.[0-9,]+.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|combiTable2D_1R.y.[0-9,]+.|der_1R.y|combiTable2D_2R.y.[0-9,]+.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.[0-9,]+.|der_1L.y|combiTable2D_2L.y.[0-9,]+.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.195e-06/2.195e-06, allocations: 0 / 347.7 MB, free: 9.777 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.33e-05/2.55e-05, allocations: 5.406 kB / 347.7 MB, free: 9.773 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.002654/0.00268, allocations: 1.96 MB / 349.6 MB, free: 7.805 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001595/0.004275, allocations: 1.052 MB / 350.7 MB, free: 6.742 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001384/0.004413, allocations: 4 kB / 350.7 MB, free: 6.738 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003322/0.004746, allocations: 51.56 kB / 350.7 MB, free: 6.688 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004077/0.005153, allocations: 155.3 kB / 350.9 MB, free: 6.535 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000926/0.006079, allocations: 0.534 MB / 351.4 MB, free: 6 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003418/0.006421, allocations: 287.1 kB / 351.7 MB, free: 5.719 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000188/0.006609, allocations: 40.91 kB / 351.7 MB, free: 5.684 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002112/0.00682, allocations: 163.5 kB / 351.9 MB, free: 5.523 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002078/0.007028, allocations: 167.6 kB / 352.1 MB, free: 5.359 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.186e-05/0.00706, allocations: 12 kB / 352.1 MB, free: 5.348 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.007161, allocations: 43.92 kB / 352.1 MB, free: 5.305 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001245/0.007286, allocations: 147.5 kB / 352.3 MB, free: 5.16 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.152e-05/0.007357, allocations: 83.58 kB / 352.3 MB, free: 5.078 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002974/0.007655, allocations: 282.9 kB / 352.6 MB, free: 4.801 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.007657, allocations: 0 / 352.6 MB, free: 4.801 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.007658, allocations: 4 kB / 352.6 MB, free: 4.797 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.207e-06/0.007667, allocations: 0 / 352.6 MB, free: 4.797 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007122/0.008379, allocations: 0.7825 MB / 353.4 MB, free: 3.977 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.008422, allocations: 12.03 kB / 353.4 MB, free: 3.965 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.722e-05/0.008509, allocations: 64.56 kB / 353.5 MB, free: 3.902 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003199/0.008829, allocations: 340.5 kB / 353.8 MB, free: 3.543 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.559e-05/0.008855, allocations: 12.23 kB / 353.8 MB, free: 3.531 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.469e-05/0.008889, allocations: 12.38 kB / 353.8 MB, free: 3.52 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002197/0.009109, allocations: 123.5 kB / 354 MB, free: 3.383 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.902e-05/0.009128, allocations: 7.938 kB / 354 MB, free: 3.375 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.399e-05/0.009142, allocations: 8 kB / 354 MB, free: 3.367 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/0.009154, allocations: 4 kB / 354 MB, free: 3.363 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.26e-05/0.009237, allocations: 35.84 kB / 354 MB, free: 3.328 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007127/0.009949, allocations: 0.6583 MB / 354.7 MB, free: 2.629 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.01008, allocations: 94.17 kB / 354.8 MB, free: 2.512 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.622e-05/0.01013, allocations: 31.7 kB / 354.8 MB, free: 2.473 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.895e-05/0.01016, allocations: 4 kB / 354.8 MB, free: 2.469 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.322e-05/0.01018, allocations: 41.33 kB / 354.8 MB, free: 2.418 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.864e-06/0.01018, allocations: 0 / 354.8 MB, free: 2.418 MB / 282.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008764/0.01106, allocations: 415.8 kB / 355.2 MB, free: 2.004 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/0.01109, allocations: 77.11 kB / 355.3 MB, free: 1.91 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005352/0.01163, allocations: 0.6276 MB / 356 MB, free: 1.266 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.01164, allocations: 29.7 kB / 356 MB, free: 1.23 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001584/0.0118, allocations: 311 kB / 356.3 MB, free: 0.918 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.033e-05/0.01185, allocations: 55.55 kB / 356.3 MB, free: 0.8633 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.847e-05/0.01191, allocations: 43.3 kB / 356.4 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.01202, allocations: 0.5508 MB / 356.9 MB, free: 256 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.37e-05/0.01207, allocations: 19.98 kB / 357 MB, free: 236 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.686e-05/0.01214, allocations: 47.28 kB / 357 MB, free: 180 kB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/0.01226, allocations: 75.5 kB / 357.1 MB, free: 96 kB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.01226, allocations: 4 kB / 357.1 MB, free: 92 kB / 282.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002851/0.01255, allocations: 161.2 kB / 357.2 MB, free: 15.93 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.01257, allocations: 4 kB / 357.2 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.01257, allocations: 0 / 357.2 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.01259, allocations: 0 / 357.2 MB, free: 15.92 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001622/0.01275, allocations: 35.97 kB / 357.3 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.01276, allocations: 3.938 kB / 357.3 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.612e-05/0.01284, allocations: 8 kB / 357.3 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.709e-05/0.01285, allocations: 7.984 kB / 357.3 MB, free: 15.87 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001177/0.01297, allocations: 164.6 kB / 357.5 MB, free: 15.7 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.809e-05/0.01307, allocations: 67.56 kB / 357.5 MB, free: 15.63 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003431/0.01341, allocations: 174.1 kB / 357.7 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.01341, allocations: 0 / 357.7 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.01342, allocations: 0.5625 kB / 357.7 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.01343, allocations: 0 / 357.7 MB, free: 15.45 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008222/0.01425, allocations: 0.7308 MB / 358.4 MB, free: 14.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.698e-06/0.01425, allocations: 3.984 kB / 358.4 MB, free: 14.67 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001127/0.01436, allocations: 43.92 kB / 358.5 MB, free: 14.63 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.01437, allocations: 4 kB / 358.5 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.01439, allocations: 3.938 kB / 358.5 MB, free: 14.62 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.01439, allocations: 7.984 kB / 358.5 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.01439, allocations: 0 / 358.5 MB, free: 14.61 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003466/0.01474, allocations: 434.6 kB / 358.9 MB, free: 14.17 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.759e-05/0.01481, allocations: 51.66 kB / 359 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.758e-05/0.01484, allocations: 7.984 kB / 359 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.01497, allocations: 8 kB / 359 MB, free: 14.1 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.234e-05/0.01503, allocations: 11.97 kB / 359 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/0.01504, allocations: 8 kB / 359 MB, free: 14.08 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004015/0.01544, allocations: 418.8 kB / 359.4 MB, free: 13.68 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01544, allocations: 0 / 359.4 MB, free: 13.68 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003425/0.01579, allocations: 55.98 kB / 359.5 MB, free: 13.62 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009725/0.01676, allocations: 372.1 kB / 359.8 MB, free: 13.34 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002243/0.01698, allocations: 91.44 kB / 359.9 MB, free: 13.25 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.01698, allocations: 0 / 359.9 MB, free: 13.25 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 8.306e-05/0.01707, allocations: 51.59 kB / 360 MB, free: 13.2 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005247/0.01759, allocations: 87.25 kB / 360 MB, free: 13.11 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001641/0.01923, allocations: 0.7379 MB / 360.8 MB, free: 12.34 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001226/0.01935, allocations: 140.5 kB / 360.9 MB, free: 12.18 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001555/0.01951, allocations: 70.89 kB / 361 MB, free: 12.11 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.887e-05/0.0196, allocations: 28.5 kB / 361 MB, free: 12.08 MB / 298.7 MB Notification: Performance of SimCode: time 1.092e-06/0.0196, allocations: 0 / 361 MB, free: 12.08 MB / 298.7 MB Notification: Performance of Templates: time 0.008373/0.02797, allocations: 4.118 MB / 365.1 MB, free: 7.98 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.544890555785969]