Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.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.0009564/0.0009564, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.0009985/0.0009985, allocations: 162.1 kB / 25.61 MB, free: 8.902 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9388/0.9388, allocations: 177.1 MB / 206 MB, free: 4.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.1478/0.1478, allocations: 34.26 MB / 296.8 MB, free: 13.92 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 379.4 MB, free: 23.3 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.572e-05/1.71e-05, allocations: 2.312 kB / 379.4 MB, free: 23.3 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.002731/0.002748, allocations: 1.918 MB / 381.3 MB, free: 21.36 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001449/0.004197, allocations: 1.083 MB / 382.4 MB, free: 20.27 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.004299, allocations: 4 kB / 382.4 MB, free: 20.27 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004258/0.004725, allocations: 259.2 kB / 382.6 MB, free: 20.02 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004191/0.005144, allocations: 239 kB / 382.9 MB, free: 19.78 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002499/0.005394, allocations: 115.6 kB / 383 MB, free: 19.67 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002898/0.005684, allocations: 275.2 kB / 383.3 MB, free: 19.4 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.005799, allocations: 21.89 kB / 383.3 MB, free: 19.38 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001724/0.005972, allocations: 163.5 kB / 383.4 MB, free: 19.22 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001941/0.006166, allocations: 195.6 kB / 383.6 MB, free: 19.03 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.43e-05/0.00619, allocations: 8 kB / 383.6 MB, free: 19.02 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.006307, allocations: 63.92 kB / 383.7 MB, free: 18.96 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.676e-05/0.006384, allocations: 75.69 kB / 383.8 MB, free: 18.88 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.58e-05/0.00644, allocations: 51.72 kB / 383.8 MB, free: 18.83 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002504/0.00669, allocations: 199.2 kB / 384 MB, free: 18.64 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.006693, allocations: 4 kB / 384 MB, free: 18.63 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.61e-07/0.006694, allocations: 0 / 384 MB, free: 18.63 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.28e-06/0.006699, allocations: 0 / 384 MB, free: 18.63 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005672/0.007266, allocations: 0.6311 MB / 384.7 MB, free: 17.96 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.957e-05/0.007296, allocations: 8.031 kB / 384.7 MB, free: 17.96 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.549e-05/0.007341, allocations: 44.69 kB / 384.7 MB, free: 17.91 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001606/0.007502, allocations: 227 kB / 384.9 MB, free: 17.66 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.007517, allocations: 384 / 384.9 MB, free: 17.66 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.83e-05/0.007536, allocations: 16.33 kB / 385 MB, free: 17.65 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001136/0.007649, allocations: 106.2 kB / 385.1 MB, free: 17.53 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.007659, allocations: 7.922 kB / 385.1 MB, free: 17.52 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.327e-06/0.007669, allocations: 11.98 kB / 385.1 MB, free: 17.51 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.007674, allocations: 4 kB / 385.1 MB, free: 17.5 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.675e-05/0.007711, allocations: 27.95 kB / 385.1 MB, free: 17.48 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002694/0.00798, allocations: 479.1 kB / 385.6 MB, free: 16.98 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001618/0.008142, allocations: 118.1 kB / 385.7 MB, free: 16.84 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.825e-05/0.00817, allocations: 31.36 kB / 385.7 MB, free: 16.8 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.008e-05/0.00818, allocations: 0 / 385.7 MB, free: 16.8 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001029/0.008283, allocations: 112.5 kB / 385.8 MB, free: 16.66 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 9.12e-07/0.008284, allocations: 4 kB / 385.8 MB, free: 16.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005534/0.008837, allocations: 378 kB / 386.2 MB, free: 16.29 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.714e-05/0.008865, allocations: 81.11 kB / 386.3 MB, free: 16.19 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/0.009036, allocations: 426.5 kB / 386.7 MB, free: 15.76 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.009048, allocations: 33.7 kB / 386.7 MB, free: 15.72 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.813e-05/0.009117, allocations: 223.3 kB / 386.9 MB, free: 15.5 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.789e-05/0.009154, allocations: 75.36 kB / 387 MB, free: 15.42 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.096e-05/0.009205, allocations: 51.34 kB / 387.1 MB, free: 15.36 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.775e-05/0.009263, allocations: 0.5313 MB / 387.6 MB, free: 14.82 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.882e-05/0.009292, allocations: 23.98 kB / 387.6 MB, free: 14.8 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.216e-05/0.009334, allocations: 82.61 kB / 387.7 MB, free: 14.7 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.697e-05/0.009411, allocations: 114.8 kB / 387.8 MB, free: 14.57 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.009413, allocations: 4 kB / 387.8 MB, free: 14.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001445/0.009557, allocations: 185.3 kB / 388 MB, free: 14.38 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.738e-06/0.009567, allocations: 4 kB / 388 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.009572, allocations: 8.062 kB / 388 MB, free: 14.37 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.957e-06/0.009581, allocations: 0 / 388 MB, free: 14.37 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.84e-05/0.009659, allocations: 47.92 kB / 388.1 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.966e-06/0.009662, allocations: 0 / 388.1 MB, free: 14.32 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.344e-05/0.009706, allocations: 15.92 kB / 388.1 MB, free: 14.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.009714, allocations: 8 kB / 388.1 MB, free: 14.3 MB / 314.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.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.008e-05/0.009774, allocations: 168.5 kB / 388.3 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.938e-05/0.009804, allocations: 39.77 kB / 388.3 MB, free: 14.08 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002009/0.01, allocations: 220.7 kB / 388.5 MB, free: 13.86 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.01001, allocations: 0 / 388.5 MB, free: 13.86 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.023e-06/0.01001, allocations: 11.98 kB / 388.5 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.01001, allocations: 3.938 kB / 388.5 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003775/0.01039, allocations: 0.6948 MB / 389.2 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.01039, allocations: 0 / 389.2 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.179e-05/0.01044, allocations: 35.92 kB / 389.3 MB, free: 13.06 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.01045, allocations: 3.938 kB / 389.3 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.01046, allocations: 8 kB / 389.3 MB, free: 13.05 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.01046, allocations: 7.984 kB / 389.3 MB, free: 13.04 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.01046, allocations: 4.125 kB / 389.3 MB, free: 13.04 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001889/0.01065, allocations: 0.4964 MB / 389.8 MB, free: 12.5 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.88e-05/0.01067, allocations: 39.7 kB / 389.8 MB, free: 12.46 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.413e-05/0.01069, allocations: 8 kB / 389.8 MB, free: 12.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.728e-05/0.01077, allocations: 7.984 kB / 389.8 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.249e-05/0.0108, allocations: 23.91 kB / 389.8 MB, free: 12.43 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.01082, allocations: 8 kB / 389.9 MB, free: 12.42 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.728e-05/0.01091, allocations: 279 kB / 390.1 MB, free: 12.14 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01092, allocations: 0 / 390.1 MB, free: 12.14 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002316/0.01115, allocations: 55.92 kB / 390.2 MB, free: 12.09 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,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 (24): * Single equations (assignments): 20 * 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.0009714/0.01212, allocations: 0.4923 MB / 390.7 MB, free: 11.79 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001293/0.01225, allocations: 111.5 kB / 390.8 MB, free: 11.68 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.01225, allocations: 8.062 kB / 390.8 MB, free: 11.67 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.418e-05/0.0123, allocations: 67.56 kB / 390.9 MB, free: 11.6 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003178/0.01262, allocations: 68.83 kB / 390.9 MB, free: 11.54 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004145/0.01304, allocations: 0.5187 MB / 391.4 MB, free: 10.96 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.724e-05/0.01309, allocations: 112.1 kB / 391.6 MB, free: 10.84 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 6.178e-05/0.01315, allocations: 37.91 kB / 391.6 MB, free: 10.8 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.76e-05/0.01324, allocations: 122.2 kB / 391.7 MB, free: 10.68 MB / 314.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01324, allocations: 0 / 391.7 MB, free: 10.68 MB / 314.7 MB Notification: Performance of Templates: time 0.004618/0.01786, allocations: 3.749 MB / 395.5 MB, free: 6.992 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.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.135584603063762]