Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.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.0009586/0.0009586, allocations: 91.22 kB / 20.43 MB, free: 4.145 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.001759/0.001759, allocations: 165 kB / 23.8 MB, free: 0.7734 MB / 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 0.877/0.877, allocations: 158.6 MB / 185.7 MB, free: 2.902 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.1469/0.1469, allocations: 32.37 MB / 270.4 MB, free: 14.7 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.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 347.7 MB, free: 9.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.383e-05/2.535e-05, allocations: 4.281 kB / 347.7 MB, free: 9.441 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.00212/0.002146, allocations: 1.611 MB / 349.3 MB, free: 7.824 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004733/0.002619, allocations: 315.5 kB / 349.6 MB, free: 7.512 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.947e-05/0.002668, allocations: 0 / 349.6 MB, free: 7.512 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002146/0.002883, allocations: 27.84 kB / 349.6 MB, free: 7.484 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001697/0.003053, allocations: 39.72 kB / 349.7 MB, free: 7.445 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001922/0.003245, allocations: 67.78 kB / 349.7 MB, free: 7.379 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.003365, allocations: 59.77 kB / 349.8 MB, free: 7.32 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.921e-05/0.003455, allocations: 8 kB / 349.8 MB, free: 7.312 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.876e-05/0.003503, allocations: 35.91 kB / 349.8 MB, free: 7.277 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.666e-05/0.00355, allocations: 7.984 kB / 349.8 MB, free: 7.27 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.003565, allocations: 4 kB / 349.8 MB, free: 7.266 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.094e-05/0.003626, allocations: 31.98 kB / 349.9 MB, free: 7.234 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.924e-05/0.003665, allocations: 7.938 kB / 349.9 MB, free: 7.227 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.674e-05/0.003692, allocations: 19.91 kB / 349.9 MB, free: 7.207 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000129/0.003821, allocations: 55.77 kB / 349.9 MB, free: 7.152 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.003824, allocations: 0 / 349.9 MB, free: 7.152 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.003825, allocations: 0 / 349.9 MB, free: 7.152 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.003829, allocations: 0 / 349.9 MB, free: 7.152 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003077/0.004137, allocations: 412.2 kB / 350.3 MB, free: 6.715 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.004175, allocations: 12.03 kB / 350.4 MB, free: 6.703 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.745e-05/0.004213, allocations: 8.891 kB / 350.4 MB, free: 6.695 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.004315, allocations: 128.5 kB / 350.5 MB, free: 6.543 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.285e-06/0.004323, allocations: 4.375 kB / 350.5 MB, free: 6.539 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.081e-05/0.004344, allocations: 384 / 350.5 MB, free: 6.539 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.329e-05/0.004437, allocations: 54.95 kB / 350.6 MB, free: 6.477 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/0.004446, allocations: 192 / 350.6 MB, free: 6.477 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.004454, allocations: 8.062 kB / 350.6 MB, free: 6.469 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.004461, allocations: 0 / 350.6 MB, free: 6.469 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.874e-05/0.00449, allocations: 15.92 kB / 350.6 MB, free: 6.453 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002192/0.004709, allocations: 279.8 kB / 350.9 MB, free: 6.145 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001421/0.004851, allocations: 39.06 kB / 350.9 MB, free: 6.094 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.916e-05/0.004871, allocations: 11.69 kB / 350.9 MB, free: 6.078 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.208e-05/0.004893, allocations: 12.02 kB / 350.9 MB, free: 6.066 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.39e-05/0.004907, allocations: 37.33 kB / 350.9 MB, free: 6.02 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.004908, allocations: 0 / 350.9 MB, free: 6.02 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003053/0.005213, allocations: 89.52 kB / 351 MB, free: 5.926 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.742e-05/0.00523, allocations: 51.41 kB / 351.1 MB, free: 5.863 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.272e-05/0.005303, allocations: 196.2 kB / 351.3 MB, free: 5.656 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.979e-06/0.005308, allocations: 25.7 kB / 351.3 MB, free: 5.625 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.903e-05/0.005337, allocations: 146.8 kB / 351.4 MB, free: 5.477 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.602e-05/0.005353, allocations: 15.83 kB / 351.5 MB, free: 5.461 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.488e-05/0.005378, allocations: 23.38 kB / 351.5 MB, free: 5.43 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.095e-05/0.005419, allocations: 0.4923 MB / 352 MB, free: 4.926 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.546e-05/0.005434, allocations: 4 kB / 352 MB, free: 4.922 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.199e-05/0.005446, allocations: 4 kB / 352 MB, free: 4.918 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.15e-05/0.005478, allocations: 23.69 kB / 352 MB, free: 4.891 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.005478, allocations: 0 / 352 MB, free: 4.891 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.574e-05/0.005544, allocations: 65.52 kB / 352.1 MB, free: 4.82 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.005555, allocations: 4 kB / 352.1 MB, free: 4.816 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.00556, allocations: 0 / 352.1 MB, free: 4.816 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.005576, allocations: 4 kB / 352.1 MB, free: 4.812 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.242e-05/0.005618, allocations: 15.98 kB / 352.1 MB, free: 4.797 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.005623, allocations: 0 / 352.1 MB, free: 4.797 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.501e-05/0.005638, allocations: 0 / 352.1 MB, free: 4.797 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.35e-06/0.005643, allocations: 4 kB / 352.1 MB, free: 4.793 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 5 * 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 3.932e-05/0.005683, allocations: 156.6 kB / 352.3 MB, free: 4.629 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.831e-05/0.005701, allocations: 11.89 kB / 352.3 MB, free: 4.617 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.349e-05/0.005795, allocations: 70.67 kB / 352.3 MB, free: 4.543 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.005797, allocations: 0 / 352.3 MB, free: 4.543 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.0058, allocations: 0 / 352.3 MB, free: 4.543 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.005803, allocations: 11.98 kB / 352.3 MB, free: 4.531 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000165/0.005968, allocations: 317.4 kB / 352.7 MB, free: 4.18 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.00597, allocations: 0 / 352.7 MB, free: 4.18 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.791e-05/0.005998, allocations: 11.98 kB / 352.7 MB, free: 4.168 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.006, allocations: 0 / 352.7 MB, free: 4.168 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.701e-06/0.006006, allocations: 4 kB / 352.7 MB, free: 4.164 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.006007, allocations: 0 / 352.7 MB, free: 4.164 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.006007, allocations: 3.938 kB / 352.7 MB, free: 4.16 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.034e-05/0.006078, allocations: 207.8 kB / 352.9 MB, free: 3.938 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.214e-06/0.006085, allocations: 7.953 kB / 352.9 MB, free: 3.93 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.11e-05/0.006096, allocations: 4 kB / 352.9 MB, free: 3.926 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.011e-05/0.006126, allocations: 7.984 kB / 352.9 MB, free: 3.918 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.398e-05/0.00616, allocations: 4 kB / 352.9 MB, free: 3.914 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-06/0.006163, allocations: 0 / 352.9 MB, free: 3.914 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.781e-05/0.006201, allocations: 144.2 kB / 353 MB, free: 3.773 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006201, allocations: 0 / 353 MB, free: 3.773 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001601/0.006361, allocations: 19.92 kB / 353.1 MB, free: 3.754 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 5 * 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.0007527/0.007114, allocations: 376.1 kB / 353.4 MB, free: 3.473 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.693e-05/0.007211, allocations: 27.62 kB / 353.5 MB, free: 3.441 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.007212, allocations: 0 / 353.5 MB, free: 3.441 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.819e-05/0.00723, allocations: 19.67 kB / 353.5 MB, free: 3.418 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002082/0.007439, allocations: 25.11 kB / 353.5 MB, free: 3.395 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002802/0.007719, allocations: 166.2 kB / 353.7 MB, free: 3.203 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.654e-05/0.007745, allocations: 63.28 kB / 353.7 MB, free: 3.121 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.527e-05/0.007771, allocations: 11.98 kB / 353.7 MB, free: 3.109 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.575e-05/0.007796, allocations: 16.5 kB / 353.7 MB, free: 3.094 MB / 282.7 MB Notification: Performance of SimCode: time 6.11e-07/0.007797, allocations: 0 / 353.7 MB, free: 3.094 MB / 282.7 MB Notification: Performance of Templates: time 0.00282/0.01062, allocations: 1.138 MB / 354.9 MB, free: 1.965 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test2/Test2.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.1197684621438384]