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.0009458/0.0009458, allocations: 91.22 kB / 20.43 MB, free: 4.141 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.00091/0.00091, 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.9952/0.9952, allocations: 158.6 MB / 185.7 MB, free: 2.918 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.1761/0.1761, allocations: 32.37 MB / 270.4 MB, free: 14.71 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.313e-06/1.313e-06, allocations: 0 / 347.7 MB, free: 9.441 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.854e-05/1.985e-05, allocations: 12.16 kB / 347.7 MB, free: 9.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test2): time 0.001845/0.001865, allocations: 1.599 MB / 349.3 MB, free: 7.824 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000436/0.002301, allocations: 319.4 kB / 349.6 MB, free: 7.508 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.966e-05/0.002351, allocations: 0 / 349.6 MB, free: 7.508 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002223/0.002573, allocations: 23.86 kB / 349.6 MB, free: 7.484 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001694/0.002742, allocations: 43.72 kB / 349.7 MB, free: 7.441 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001721/0.002915, allocations: 63.78 kB / 349.7 MB, free: 7.379 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001224/0.003037, allocations: 55.84 kB / 349.8 MB, free: 7.324 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.304e-05/0.00313, allocations: 15.97 kB / 349.8 MB, free: 7.309 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.081e-05/0.003181, allocations: 27.86 kB / 349.8 MB, free: 7.281 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.007e-05/0.003231, allocations: 11.98 kB / 349.8 MB, free: 7.27 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.485e-05/0.003246, allocations: 4 kB / 349.8 MB, free: 7.266 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.937e-05/0.003305, allocations: 31.94 kB / 349.9 MB, free: 7.234 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.08e-05/0.003346, allocations: 11.97 kB / 349.9 MB, free: 7.223 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.679e-05/0.003373, allocations: 11.94 kB / 349.9 MB, free: 7.211 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001297/0.003502, allocations: 59.75 kB / 349.9 MB, free: 7.152 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.003504, allocations: 0 / 349.9 MB, free: 7.152 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.003506, allocations: 0 / 349.9 MB, free: 7.152 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.003512, 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.0003362/0.003848, allocations: 408.2 kB / 350.3 MB, free: 6.719 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.003886, allocations: 12.03 kB / 350.4 MB, free: 6.707 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.396e-05/0.00393, allocations: 8.891 kB / 350.4 MB, free: 6.699 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.004054, allocations: 140.5 kB / 350.5 MB, free: 6.535 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-06/0.004063, allocations: 384 / 350.5 MB, free: 6.535 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.129e-05/0.004084, allocations: 4.375 kB / 350.5 MB, free: 6.531 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/0.004185, allocations: 50.95 kB / 350.6 MB, free: 6.473 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.004194, allocations: 8.125 kB / 350.6 MB, free: 6.465 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.004204, allocations: 4.125 kB / 350.6 MB, free: 6.461 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.872e-06/0.004211, allocations: 0 / 350.6 MB, free: 6.461 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.8e-05/0.004239, allocations: 4 kB / 350.6 MB, free: 6.457 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002341/0.004473, allocations: 275.7 kB / 350.8 MB, free: 6.152 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001552/0.004628, allocations: 39.05 kB / 350.9 MB, free: 6.102 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.902e-05/0.004647, allocations: 15.69 kB / 350.9 MB, free: 6.082 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.918e-05/0.004667, allocations: 11.92 kB / 350.9 MB, free: 6.07 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.581e-05/0.004682, allocations: 37.39 kB / 350.9 MB, free: 6.023 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.004684, allocations: 0 / 350.9 MB, free: 6.023 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003179/0.005002, allocations: 85.61 kB / 351 MB, free: 5.934 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.445e-05/0.005026, allocations: 59.34 kB / 351.1 MB, free: 5.863 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.854e-05/0.005105, allocations: 192.2 kB / 351.3 MB, free: 5.66 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.64e-06/0.00511, allocations: 25.7 kB / 351.3 MB, free: 5.629 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.895e-05/0.005139, allocations: 146.8 kB / 351.4 MB, free: 5.48 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.717e-05/0.005156, allocations: 11.84 kB / 351.5 MB, free: 5.469 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.508e-05/0.005181, allocations: 35.36 kB / 351.5 MB, free: 5.426 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.364e-05/0.005225, allocations: 496.1 kB / 352 MB, free: 4.93 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.402e-05/0.005239, allocations: 4 kB / 352 MB, free: 4.926 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.178e-05/0.005251, allocations: 7.984 kB / 352 MB, free: 4.918 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.188e-05/0.005283, allocations: 31.88 kB / 352 MB, free: 4.883 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.005283, allocations: 0 / 352 MB, free: 4.883 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 5.974e-05/0.005343, allocations: 61.52 kB / 352.1 MB, free: 4.816 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/0.005355, allocations: 8 kB / 352.1 MB, free: 4.809 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.005359, allocations: 0 / 352.1 MB, free: 4.809 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.005371, allocations: 0 / 352.1 MB, free: 4.809 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.932e-05/0.005411, allocations: 8 kB / 352.1 MB, free: 4.801 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.005417, allocations: 4 kB / 352.1 MB, free: 4.797 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.663e-05/0.005433, allocations: 7.984 kB / 352.1 MB, free: 4.789 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-06/0.005438, allocations: 0 / 352.1 MB, free: 4.789 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.934e-05/0.005477, allocations: 156.6 kB / 352.3 MB, free: 4.625 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.664e-05/0.005494, allocations: 15.89 kB / 352.3 MB, free: 4.609 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.752e-05/0.005582, allocations: 58.16 kB / 352.3 MB, free: 4.547 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.005583, allocations: 0 / 352.3 MB, free: 4.547 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.005587, allocations: 7.922 kB / 352.3 MB, free: 4.539 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.005589, allocations: 3.938 kB / 352.3 MB, free: 4.535 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001721/0.005761, allocations: 321.4 kB / 352.7 MB, free: 4.18 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.005763, allocations: 0 / 352.7 MB, free: 4.18 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.356e-05/0.005786, allocations: 8 kB / 352.7 MB, free: 4.172 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.005788, allocations: 0 / 352.7 MB, free: 4.172 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-06/0.005794, allocations: 0 / 352.7 MB, free: 4.172 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.005795, allocations: 3.984 kB / 352.7 MB, free: 4.168 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.005796, allocations: 192 / 352.7 MB, free: 4.168 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.783e-05/0.005864, allocations: 223.8 kB / 352.9 MB, free: 3.93 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.653e-06/0.005871, allocations: 3.953 kB / 352.9 MB, free: 3.926 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.136e-05/0.005882, allocations: 0 / 352.9 MB, free: 3.926 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.868e-05/0.005911, allocations: 8 kB / 352.9 MB, free: 3.918 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.32e-05/0.005944, allocations: 7.984 kB / 352.9 MB, free: 3.91 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.276e-06/0.005947, allocations: 4 kB / 352.9 MB, free: 3.906 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.308e-05/0.00598, allocations: 142 kB / 353 MB, free: 3.77 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00598, allocations: 0 / 353 MB, free: 3.77 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001534/0.006134, allocations: 19.94 kB / 353.1 MB, free: 3.75 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.0007217/0.006855, allocations: 374.7 kB / 353.4 MB, free: 3.469 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 8.725e-05/0.006943, allocations: 31.61 kB / 353.5 MB, free: 3.434 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.006945, allocations: 4 kB / 353.5 MB, free: 3.43 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.852e-05/0.006963, allocations: 15.69 kB / 353.5 MB, free: 3.41 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002012/0.007164, allocations: 21.17 kB / 353.5 MB, free: 3.391 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003132/0.007478, allocations: 158 kB / 353.7 MB, free: 3.207 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.939e-05/0.007507, allocations: 67.34 kB / 353.7 MB, free: 3.121 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.939e-05/0.007536, allocations: 7.984 kB / 353.7 MB, free: 3.113 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.751e-05/0.007564, allocations: 16.48 kB / 353.7 MB, free: 3.098 MB / 282.7 MB Notification: Performance of SimCode: time 5.91e-07/0.007564, allocations: 3.938 kB / 353.8 MB, free: 3.094 MB / 282.7 MB Notification: Performance of Templates: time 0.002774/0.01034, allocations: 1.217 MB / 355 MB, free: 1.891 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.198308170773089]