Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.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.001032/0.001032, 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.001048/0.001048, 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.9616/0.9616, allocations: 158.6 MB / 185.7 MB, free: 2.914 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.1516/0.1516, 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.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 4 kB / 347.7 MB, free: 9.387 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.49e-05/2.676e-05, allocations: 8.281 kB / 347.7 MB, free: 9.379 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.002059/0.002085, allocations: 1.938 MB / 349.7 MB, free: 7.43 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.000929/0.003015, allocations: 0.831 MB / 350.5 MB, free: 6.59 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.271e-05/0.003107, allocations: 3.938 kB / 350.5 MB, free: 6.586 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003138/0.003421, allocations: 47.64 kB / 350.6 MB, free: 6.539 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000198/0.003619, allocations: 59.69 kB / 350.6 MB, free: 6.48 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002034/0.003822, allocations: 107.5 kB / 350.7 MB, free: 6.375 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001627/0.003985, allocations: 143.5 kB / 350.9 MB, free: 6.234 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001156/0.004101, allocations: 17.62 kB / 350.9 MB, free: 6.215 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.981e-05/0.00419, allocations: 87.73 kB / 351 MB, free: 6.129 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.809e-05/0.004269, allocations: 27.91 kB / 351 MB, free: 6.102 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.972e-05/0.004288, allocations: 8 kB / 351 MB, free: 6.094 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.325e-05/0.004362, allocations: 43.97 kB / 351.1 MB, free: 6.051 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.067e-05/0.004412, allocations: 27.86 kB / 351.1 MB, free: 6.023 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.901e-05/0.004461, allocations: 31.91 kB / 351.1 MB, free: 5.992 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001849/0.004646, allocations: 127.4 kB / 351.2 MB, free: 5.867 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.004648, allocations: 0 / 351.2 MB, free: 5.867 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.004649, allocations: 3.938 kB / 351.2 MB, free: 5.863 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.9e-06/0.004654, allocations: 0 / 351.2 MB, free: 5.863 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004533/0.005107, allocations: 0.4975 MB / 351.7 MB, free: 5.324 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.005144, allocations: 12.03 kB / 351.7 MB, free: 5.312 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.314e-05/0.005197, allocations: 16.84 kB / 351.8 MB, free: 5.297 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001749/0.005372, allocations: 168.3 kB / 351.9 MB, free: 5.105 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.964e-05/0.005391, allocations: 12.31 kB / 351.9 MB, free: 5.094 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.615e-05/0.005418, allocations: 4.375 kB / 351.9 MB, free: 5.09 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.005581, allocations: 141.9 kB / 352.1 MB, free: 4.926 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.005589, allocations: 7.938 kB / 352.1 MB, free: 4.918 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.005599, allocations: 4 kB / 352.1 MB, free: 4.914 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.005606, allocations: 0 / 352.1 MB, free: 4.914 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.891e-05/0.005655, allocations: 27.92 kB / 352.1 MB, free: 4.887 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003811/0.006036, allocations: 0.5834 MB / 352.7 MB, free: 4.258 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001917/0.006228, allocations: 71.16 kB / 352.8 MB, free: 4.176 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.605e-05/0.006264, allocations: 23.67 kB / 352.8 MB, free: 4.148 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.416e-05/0.006278, allocations: 4 kB / 352.8 MB, free: 4.145 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001136/0.006392, allocations: 102.7 kB / 352.9 MB, free: 4.023 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.633e-06/0.006393, allocations: 3.984 kB / 352.9 MB, free: 4.02 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002145/0.006608, allocations: 113.5 kB / 353 MB, free: 3.902 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.041e-05/0.006628, allocations: 51.41 kB / 353.1 MB, free: 3.84 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.006735, allocations: 234.7 kB / 353.3 MB, free: 3.594 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/0.006746, allocations: 29.7 kB / 353.3 MB, free: 3.559 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.082e-05/0.006797, allocations: 162.8 kB / 353.5 MB, free: 3.395 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.798e-05/0.006815, allocations: 35.67 kB / 353.5 MB, free: 3.359 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-05/0.006848, allocations: 39.36 kB / 353.6 MB, free: 3.312 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.282e-05/0.006901, allocations: 0.5 MB / 354.1 MB, free: 2.801 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.666e-05/0.006927, allocations: 12 kB / 354.1 MB, free: 2.789 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.806e-05/0.006966, allocations: 62.42 kB / 354.1 MB, free: 2.707 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.325e-05/0.007039, allocations: 90.66 kB / 354.2 MB, free: 2.598 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.007041, allocations: 0 / 354.2 MB, free: 2.598 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001231/0.007164, allocations: 117.4 kB / 354.3 MB, free: 2.477 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.007177, allocations: 4.125 kB / 354.3 MB, free: 2.473 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.007184, allocations: 8 kB / 354.3 MB, free: 2.465 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/0.007203, allocations: 0 / 354.3 MB, free: 2.465 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.638e-05/0.00727, allocations: 27.98 kB / 354.4 MB, free: 2.438 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.007278, allocations: 0 / 354.4 MB, free: 2.438 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.625e-05/0.007314, allocations: 7.938 kB / 354.4 MB, free: 2.43 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.007323, allocations: 7.938 kB / 354.4 MB, free: 2.422 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 6.511e-05/0.007388, allocations: 164.5 kB / 354.5 MB, free: 2.25 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.936e-05/0.007408, allocations: 27.89 kB / 354.6 MB, free: 2.223 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000148/0.007556, allocations: 107.1 kB / 354.7 MB, free: 2.105 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.007557, allocations: 4 kB / 354.7 MB, free: 2.102 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.007562, allocations: 0 / 354.7 MB, free: 2.102 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.007566, allocations: 0 / 354.7 MB, free: 2.102 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.815e-05/0.007654, allocations: 164.5 kB / 354.8 MB, free: 1.906 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.007655, allocations: 0 / 354.8 MB, free: 1.906 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.639e-05/0.007701, allocations: 8 kB / 354.9 MB, free: 1.898 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.007703, allocations: 4 kB / 354.9 MB, free: 1.895 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.007715, allocations: 0 / 354.9 MB, free: 1.895 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.007716, allocations: 0 / 354.9 MB, free: 1.895 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.007716, allocations: 0 / 354.9 MB, free: 1.895 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000168/0.007884, allocations: 164.2 kB / 355 MB, free: 1.711 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.483e-05/0.007899, allocations: 15.98 kB / 355 MB, free: 1.695 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/0.007916, allocations: 0 / 355 MB, free: 1.695 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.722e-05/0.007943, allocations: 11.92 kB / 355 MB, free: 1.684 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.848e-05/0.007982, allocations: 11.98 kB / 355.1 MB, free: 1.672 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.007995, allocations: 4 kB / 355.1 MB, free: 1.668 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.768e-05/0.008053, allocations: 177 kB / 355.2 MB, free: 1.496 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008053, allocations: 0 / 355.2 MB, free: 1.496 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001543/0.008207, allocations: 31.89 kB / 355.3 MB, free: 1.465 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007466/0.008954, allocations: 385.8 kB / 355.6 MB, free: 1.176 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001162/0.00907, allocations: 59.59 kB / 355.7 MB, free: 1.113 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.009072, allocations: 0 / 355.7 MB, free: 1.113 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.851e-05/0.00911, allocations: 43.98 kB / 355.7 MB, free: 1.066 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001958/0.009306, allocations: 47.83 kB / 355.8 MB, free: 1.02 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003483/0.009654, allocations: 260.1 kB / 356 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.717e-05/0.009681, allocations: 71.83 kB / 356.1 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.75e-05/0.009719, allocations: 17.14 kB / 356.1 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.225e-05/0.009751, allocations: 24.5 kB / 356.2 MB, free: 0.6094 MB / 282.7 MB Notification: Performance of SimCode: time 6.41e-07/0.009752, allocations: 4 kB / 356.2 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of Templates: time 0.003791/0.01354, allocations: 2.049 MB / 358.2 MB, free: 14.58 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.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.4931549769826233]