Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.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.001272/0.001272, allocations: 85.84 kB / 21.44 MB, free: 3.062 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.001117/0.001117, allocations: 166 kB / 24.84 MB, free: 9.332 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.9766/0.9766, allocations: 158.6 MB / 186.7 MB, free: 2.781 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.1285/0.1285, allocations: 32.37 MB / 271.5 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.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 349 MB, free: 9.117 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.742e-05/1.891e-05, allocations: 8.219 kB / 349 MB, free: 9.109 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.002767/0.002786, allocations: 1.8 MB / 350.8 MB, free: 7.297 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001591/0.004376, allocations: 1.587 MB / 352.4 MB, free: 5.699 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.894e-05/0.004445, allocations: 0 / 352.4 MB, free: 5.699 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002429/0.004688, allocations: 59.56 kB / 352.4 MB, free: 5.641 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002016/0.004889, allocations: 91.53 kB / 352.5 MB, free: 5.551 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001754/0.005065, allocations: 143.6 kB / 352.7 MB, free: 5.41 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001539/0.005219, allocations: 191.3 kB / 352.9 MB, free: 5.223 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.741e-05/0.005256, allocations: 5.812 kB / 352.9 MB, free: 5.219 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.286e-05/0.005349, allocations: 99.67 kB / 353 MB, free: 5.121 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001089/0.005458, allocations: 55.81 kB / 353 MB, free: 5.066 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.005476, allocations: 8 kB / 353 MB, free: 5.059 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.399e-05/0.00556, allocations: 67.89 kB / 353.1 MB, free: 4.992 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.39e-05/0.005604, allocations: 27.86 kB / 353.1 MB, free: 4.965 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.379e-05/0.005638, allocations: 35.84 kB / 353.1 MB, free: 4.93 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001627/0.005801, allocations: 155.4 kB / 353.3 MB, free: 4.777 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.734e-06/0.005803, allocations: 0 / 353.3 MB, free: 4.777 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.005803, allocations: 0 / 353.3 MB, free: 4.777 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.005807, allocations: 0 / 353.3 MB, free: 4.777 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003424/0.00615, allocations: 495.5 kB / 353.8 MB, free: 4.258 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.692e-05/0.006177, allocations: 12.03 kB / 353.8 MB, free: 4.246 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.818e-05/0.006215, allocations: 28.72 kB / 353.8 MB, free: 4.219 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.006346, allocations: 176.3 kB / 354 MB, free: 4.02 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.006359, allocations: 384 / 354 MB, free: 4.02 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.506e-06/0.006367, allocations: 4.375 kB / 354 MB, free: 4.016 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/0.006481, allocations: 165.1 kB / 354.2 MB, free: 3.816 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-06/0.006487, allocations: 7.875 kB / 354.2 MB, free: 3.809 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.006496, allocations: 8 kB / 354.2 MB, free: 3.801 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.0065, allocations: 0 / 354.2 MB, free: 3.801 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.857e-05/0.006528, allocations: 15.97 kB / 354.2 MB, free: 3.785 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.347e-05/0.006622, allocations: 136.9 kB / 354.3 MB, free: 3.621 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.502e-05/0.006717, allocations: 94.14 kB / 354.4 MB, free: 3.504 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.552e-05/0.006742, allocations: 31.36 kB / 354.4 MB, free: 3.465 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.019e-05/0.006752, allocations: 4 kB / 354.5 MB, free: 3.461 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.606e-05/0.006838, allocations: 112.3 kB / 354.6 MB, free: 3.328 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 7.21e-07/0.006839, allocations: 0 / 354.6 MB, free: 3.328 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001719/0.007011, allocations: 141.4 kB / 354.7 MB, free: 3.184 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.203e-05/0.007043, allocations: 132.5 kB / 354.8 MB, free: 3.023 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.717e-05/0.00714, allocations: 250.7 kB / 355.1 MB, free: 2.758 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.868e-06/0.00715, allocations: 33.69 kB / 355.1 MB, free: 2.719 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.472e-05/0.007185, allocations: 158.8 kB / 355.3 MB, free: 2.559 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.841e-05/0.007213, allocations: 35.78 kB / 355.3 MB, free: 2.523 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.968e-05/0.007243, allocations: 35.34 kB / 355.3 MB, free: 2.48 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.899e-05/0.007292, allocations: 0.4962 MB / 355.8 MB, free: 1.973 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.798e-05/0.00731, allocations: 11.98 kB / 355.8 MB, free: 1.961 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.105e-05/0.007351, allocations: 125.5 kB / 356 MB, free: 1.801 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.26e-05/0.007404, allocations: 70.67 kB / 356 MB, free: 1.715 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.007405, allocations: 0 / 356 MB, free: 1.715 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 9.639e-05/0.007502, allocations: 122 kB / 356.2 MB, free: 1.59 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.588e-06/0.007511, allocations: 4 kB / 356.2 MB, free: 1.586 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.007515, allocations: 0 / 356.2 MB, free: 1.586 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.907e-06/0.007524, allocations: 7.938 kB / 356.2 MB, free: 1.578 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.041e-05/0.007585, allocations: 19.98 kB / 356.2 MB, free: 1.559 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.007589, allocations: 4.062 kB / 356.2 MB, free: 1.555 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.882e-05/0.007628, allocations: 8 kB / 356.2 MB, free: 1.547 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.58e-06/0.007633, allocations: 7.938 kB / 356.2 MB, free: 1.539 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 5.289e-05/0.007686, allocations: 168.5 kB / 356.4 MB, free: 1.363 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.084e-05/0.007707, allocations: 27.89 kB / 356.4 MB, free: 1.336 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001216/0.007829, allocations: 134.7 kB / 356.5 MB, free: 1.195 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.007832, allocations: 11.92 kB / 356.5 MB, free: 1.184 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.007833, allocations: 0 / 356.5 MB, free: 1.184 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.007837, allocations: 0 / 356.5 MB, free: 1.184 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.133e-05/0.007908, allocations: 133.1 kB / 356.7 MB, free: 1.027 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.007909, allocations: 0 / 356.7 MB, free: 1.027 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.993e-05/0.007929, allocations: 12 kB / 356.7 MB, free: 1.016 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.00793, allocations: 0 / 356.7 MB, free: 1.016 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.007937, allocations: 7.984 kB / 356.7 MB, free: 1.008 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.007938, allocations: 4 kB / 356.7 MB, free: 1.004 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.007939, allocations: 4 kB / 356.7 MB, free: 1 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001137/0.008053, allocations: 171.9 kB / 356.9 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.442e-05/0.008067, allocations: 11.91 kB / 356.9 MB, free: 0.793 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.732e-05/0.008085, allocations: 4 kB / 356.9 MB, free: 0.7891 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.975e-05/0.008114, allocations: 15.92 kB / 356.9 MB, free: 0.7734 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.685e-05/0.008141, allocations: 11.92 kB / 356.9 MB, free: 0.7617 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.01e-05/0.008151, allocations: 4 kB / 356.9 MB, free: 0.7578 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.818e-05/0.0082, allocations: 177.4 kB / 357.1 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0082, allocations: 0 / 357.1 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001569/0.008356, allocations: 39.92 kB / 357.1 MB, free: 0.5469 MB / 282.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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0008422/0.009199, allocations: 446.6 kB / 357.6 MB, free: 208 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001121/0.009311, allocations: 67.52 kB / 357.6 MB, free: 136 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.009312, allocations: 0 / 357.6 MB, free: 136 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.774e-05/0.00935, allocations: 39.66 kB / 357.7 MB, free: 92 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002057/0.009555, allocations: 59.75 kB / 357.7 MB, free: 32 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003226/0.009878, allocations: 265.6 kB / 358 MB, free: 15.74 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.695e-05/0.009915, allocations: 71.98 kB / 358 MB, free: 15.65 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.393e-05/0.009969, allocations: 33.58 kB / 358.1 MB, free: 15.61 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.01007, allocations: 114.2 kB / 358.2 MB, free: 15.5 MB / 298.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01007, allocations: 0 / 358.2 MB, free: 15.5 MB / 298.7 MB Notification: Performance of Templates: time 0.005146/0.01522, allocations: 3.276 MB / 361.5 MB, free: 12.25 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.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.2836919403634965]