Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.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.001083/0.001083, allocations: 80.2 kB / 20.65 MB, free: 3.844 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.001122/0.001122, allocations: 173 kB / 24.06 MB, free: 456 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.004/1.004, allocations: 158.6 MB / 185.9 MB, free: 2.793 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.1446/0.1446, allocations: 32.37 MB / 270.7 MB, free: 14.54 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.CombiTable1D.Test8,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.CombiTable1D.Test8") translateModel(ModelicaTest.Tables.CombiTable1D.Test8,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.CombiTable1D.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 348.1 MB, free: 9.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.976e-05/3.182e-05, allocations: 6.25 kB / 348.1 MB, free: 9.164 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test8): time 0.002222/0.002254, allocations: 1.591 MB / 349.7 MB, free: 7.57 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000485/0.002739, allocations: 323.4 kB / 350 MB, free: 7.25 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.155e-05/0.0028, allocations: 4 kB / 350 MB, free: 7.246 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002409/0.003041, allocations: 27.84 kB / 350.1 MB, free: 7.219 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001629/0.003204, allocations: 39.72 kB / 350.1 MB, free: 7.18 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002407/0.003445, allocations: 87.81 kB / 350.2 MB, free: 7.094 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001305/0.003575, allocations: 59.78 kB / 350.2 MB, free: 7.035 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.382e-05/0.003669, allocations: 15.91 kB / 350.3 MB, free: 7.02 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.099e-05/0.00372, allocations: 23.92 kB / 350.3 MB, free: 6.996 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.73e-05/0.003767, allocations: 19.92 kB / 350.3 MB, free: 6.977 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.578e-05/0.003783, allocations: 0 / 350.3 MB, free: 6.977 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.432e-05/0.003857, allocations: 31.97 kB / 350.3 MB, free: 6.945 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.756e-05/0.003895, allocations: 15.94 kB / 350.4 MB, free: 6.93 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.352e-05/0.003919, allocations: 8 kB / 350.4 MB, free: 6.922 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001295/0.004048, allocations: 63.75 kB / 350.4 MB, free: 6.859 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.004051, allocations: 0 / 350.4 MB, free: 6.859 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.004053, allocations: 3.938 kB / 350.4 MB, free: 6.855 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.027e-06/0.004057, allocations: 0 / 350.4 MB, free: 6.855 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.0003102/0.004367, allocations: 416.1 kB / 350.8 MB, free: 6.414 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.004406, allocations: 12.03 kB / 350.8 MB, free: 6.402 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.201e-05/0.004438, allocations: 8.891 kB / 350.9 MB, free: 6.395 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.004541, allocations: 132.4 kB / 351 MB, free: 6.238 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.004551, allocations: 12.38 kB / 351 MB, free: 6.227 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.828e-05/0.004569, allocations: 384 / 351 MB, free: 6.227 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.075e-05/0.00466, allocations: 54.94 kB / 351 MB, free: 6.164 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.004673, allocations: 192 / 351 MB, free: 6.164 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.004681, allocations: 8.125 kB / 351.1 MB, free: 6.156 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.004686, allocations: 0 / 351.1 MB, free: 6.156 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.03e-05/0.004707, allocations: 11.94 kB / 351.1 MB, free: 6.145 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002134/0.00492, allocations: 244.5 kB / 351.3 MB, free: 5.879 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001313/0.005051, allocations: 47.02 kB / 351.4 MB, free: 5.82 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.392e-05/0.005065, allocations: 11.69 kB / 351.4 MB, free: 5.805 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/0.005091, allocations: 4.094 kB / 351.4 MB, free: 5.801 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.723e-05/0.005108, allocations: 53.25 kB / 351.4 MB, free: 5.738 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 9.11e-07/0.005109, allocations: 0 / 351.4 MB, free: 5.738 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002568/0.005366, allocations: 85.52 kB / 351.5 MB, free: 5.648 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.642e-05/0.005382, allocations: 51.41 kB / 351.6 MB, free: 5.586 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.573e-05/0.005448, allocations: 192.5 kB / 351.7 MB, free: 5.383 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.001e-06/0.005454, allocations: 29.7 kB / 351.8 MB, free: 5.348 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.027e-05/0.005484, allocations: 146.8 kB / 351.9 MB, free: 5.199 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.874e-05/0.005503, allocations: 15.91 kB / 351.9 MB, free: 5.184 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.505e-05/0.005528, allocations: 23.31 kB / 352 MB, free: 5.152 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.292e-05/0.005581, allocations: 0.4962 MB / 352.4 MB, free: 4.645 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.276e-05/0.005594, allocations: 4 kB / 352.5 MB, free: 4.641 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.427e-05/0.005608, allocations: 7.984 kB / 352.5 MB, free: 4.633 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.81e-05/0.005636, allocations: 19.67 kB / 352.5 MB, free: 4.609 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.005637, allocations: 4 kB / 352.5 MB, free: 4.605 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.136e-05/0.005709, allocations: 61.53 kB / 352.5 MB, free: 4.539 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.005721, allocations: 4 kB / 352.5 MB, free: 4.535 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.005727, allocations: 3.984 kB / 352.6 MB, free: 4.531 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.005741, allocations: 0 / 352.6 MB, free: 4.531 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.619e-05/0.005787, allocations: 12 kB / 352.6 MB, free: 4.52 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.005791, allocations: 0 / 352.6 MB, free: 4.52 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.725e-05/0.005808, allocations: 4 kB / 352.6 MB, free: 4.516 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.005814, allocations: 4 kB / 352.6 MB, free: 4.512 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 5.989e-05/0.005874, allocations: 156.6 kB / 352.7 MB, free: 4.348 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.986e-05/0.005893, allocations: 15.84 kB / 352.7 MB, free: 4.332 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001173/0.006011, allocations: 70.34 kB / 352.8 MB, free: 4.258 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.006014, allocations: 4 kB / 352.8 MB, free: 4.254 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.006017, allocations: 0 / 352.8 MB, free: 4.254 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.006021, allocations: 0 / 352.8 MB, free: 4.254 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/0.006194, allocations: 290 kB / 353.1 MB, free: 3.938 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.006196, allocations: 0 / 353.1 MB, free: 3.938 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.731e-05/0.006223, allocations: 19.98 kB / 353.1 MB, free: 3.918 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.006225, allocations: 0 / 353.1 MB, free: 3.918 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.659e-06/0.00623, allocations: 0 / 353.1 MB, free: 3.918 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.006231, allocations: 3.938 kB / 353.1 MB, free: 3.914 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.006232, allocations: 0 / 353.1 MB, free: 3.914 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.881e-05/0.006301, allocations: 207.8 kB / 353.3 MB, free: 3.691 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.394e-06/0.006308, allocations: 7.953 kB / 353.3 MB, free: 3.684 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.011e-05/0.006318, allocations: 0 / 353.3 MB, free: 3.684 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.737e-05/0.006346, allocations: 0 / 353.3 MB, free: 3.684 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.702e-05/0.006373, allocations: 11.98 kB / 353.3 MB, free: 3.672 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.006376, allocations: 4 kB / 353.3 MB, free: 3.668 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.13e-05/0.006407, allocations: 141.8 kB / 353.5 MB, free: 3.531 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.006407, allocations: 0 / 353.5 MB, free: 3.531 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001537/0.006561, allocations: 23.92 kB / 353.5 MB, free: 3.508 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.0007721/0.007333, allocations: 385.6 kB / 353.9 MB, free: 3.223 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001027/0.007436, allocations: 27.62 kB / 353.9 MB, free: 3.191 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.007438, allocations: 0 / 353.9 MB, free: 3.191 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.756e-05/0.007455, allocations: 19.8 kB / 353.9 MB, free: 3.168 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002232/0.007678, allocations: 24.05 kB / 354 MB, free: 3.145 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002706/0.007949, allocations: 165.9 kB / 354.1 MB, free: 2.953 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.898e-05/0.007978, allocations: 63.36 kB / 354.2 MB, free: 2.871 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.771e-05/0.008006, allocations: 8 kB / 354.2 MB, free: 2.863 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.392e-05/0.00805, allocations: 82.19 kB / 354.3 MB, free: 2.781 MB / 282.7 MB Notification: Performance of SimCode: time 9.12e-07/0.008051, allocations: 0 / 354.3 MB, free: 2.781 MB / 282.7 MB Notification: Performance of Templates: time 0.003107/0.01116, allocations: 1.258 MB / 355.5 MB, free: 1.535 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test8/Test8.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.350891458801925]