Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.00103/0.00103, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001009/0.001009, allocations: 161 kB / 24.55 MB, free: 20 kB / 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 1.077/1.077, allocations: 177.1 MB / 205 MB, free: 5.629 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.2573/0.2573, allocations: 34.26 MB / 295.7 MB, free: 0.7695 MB / 266.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5") translateModel(ModelicaTest.Tables.CombiTimeTable.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d_t_new2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 3.938 kB / 378.1 MB, free: 2.566 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.029e-05/2.171e-05, allocations: 6.312 kB / 378.1 MB, free: 2.559 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.00225/0.002272, allocations: 1.8 MB / 379.9 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001285/0.003557, allocations: 1.024 MB / 381 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.696e-05/0.003634, allocations: 0 / 381 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003499/0.003984, allocations: 111.6 kB / 381.1 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003017/0.004286, allocations: 135.4 kB / 381.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001603/0.004446, allocations: 87.53 kB / 381.3 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001721/0.004618, allocations: 131.7 kB / 381.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.004721, allocations: 21.5 kB / 381.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.004824, allocations: 75.8 kB / 381.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.004929, allocations: 71.84 kB / 381.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.004947, allocations: 4 kB / 381.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.005049, allocations: 55.92 kB / 381.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.325e-05/0.005112, allocations: 39.84 kB / 381.7 MB, free: 15 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.606e-05/0.005158, allocations: 27.86 kB / 381.7 MB, free: 14.97 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001969/0.005355, allocations: 139.4 kB / 381.8 MB, free: 14.83 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.873e-06/0.005357, allocations: 0 / 381.8 MB, free: 14.83 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.005358, allocations: 0 / 381.8 MB, free: 14.83 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.191e-06/0.005364, allocations: 0 / 381.8 MB, free: 14.83 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005265/0.00589, allocations: 491.6 kB / 382.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.00593, allocations: 8.031 kB / 382.3 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.194e-05/0.005982, allocations: 24.8 kB / 382.3 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002203/0.006203, allocations: 173.2 kB / 382.5 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.006224, allocations: 384 / 382.5 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.06e-05/0.006254, allocations: 8.375 kB / 382.5 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001585/0.006413, allocations: 82.86 kB / 382.6 MB, free: 13.99 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.006425, allocations: 3.938 kB / 382.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.006437, allocations: 0 / 382.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.006446, allocations: 0 / 382.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.084e-05/0.006507, allocations: 27.97 kB / 382.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003829/0.006889, allocations: 327.6 kB / 383 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002165/0.007106, allocations: 70.97 kB / 383 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.716e-05/0.007143, allocations: 15.84 kB / 383 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.007162, allocations: 4 kB / 383 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001282/0.00729, allocations: 88.95 kB / 383.1 MB, free: 13.39 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.007292, allocations: 0 / 383.1 MB, free: 13.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006392/0.007931, allocations: 273.1 kB / 383.4 MB, free: 13.12 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.32e-05/0.007964, allocations: 51.41 kB / 383.4 MB, free: 13.06 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001671/0.008131, allocations: 274.8 kB / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.00815, allocations: 33.69 kB / 383.7 MB, free: 12.73 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.88e-05/0.008219, allocations: 166.8 kB / 383.9 MB, free: 12.57 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.752e-05/0.008256, allocations: 47.58 kB / 384 MB, free: 12.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.06e-05/0.008297, allocations: 35.38 kB / 384 MB, free: 12.48 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.008424, allocations: 0.5078 MB / 384.5 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.549e-05/0.00846, allocations: 23.98 kB / 384.5 MB, free: 11.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.187e-05/0.008511, allocations: 51.36 kB / 384.6 MB, free: 11.88 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.666e-05/0.008598, allocations: 79.3 kB / 384.7 MB, free: 11.79 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.008599, allocations: 0 / 384.7 MB, free: 11.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001781/0.008777, allocations: 141.6 kB / 384.8 MB, free: 11.64 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.00879, allocations: 4 kB / 384.8 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.159e-06/0.008795, allocations: 3.938 kB / 384.8 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.008812, allocations: 3.984 kB / 384.8 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.666e-05/0.008879, allocations: 32.02 kB / 384.8 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.008885, allocations: 0 / 384.8 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.936e-05/0.008914, allocations: 8 kB / 384.8 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-06/0.008924, allocations: 7.938 kB / 384.8 MB, free: 11.59 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($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 (16): * Single equations (assignments): 16 * 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 7.999e-05/0.009004, allocations: 168.5 kB / 385 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.293e-05/0.009027, allocations: 23.86 kB / 385 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002093/0.009236, allocations: 159 kB / 385.2 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.00924, allocations: 7.984 kB / 385.2 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.009244, allocations: 0 / 385.2 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.009247, allocations: 0 / 385.2 MB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003983/0.009645, allocations: 0.4885 MB / 385.7 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-06/0.009649, allocations: 4 kB / 385.7 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.199e-05/0.009691, allocations: 19.98 kB / 385.7 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.009694, allocations: 4 kB / 385.7 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.009706, allocations: 7.938 kB / 385.7 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.009709, allocations: 4 kB / 385.7 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.00971, allocations: 0 / 385.7 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002054/0.009915, allocations: 315.1 kB / 386 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.792e-05/0.009933, allocations: 19.84 kB / 386.1 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.102e-05/0.009954, allocations: 8.062 kB / 386.1 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.571e-05/0.01, allocations: 7.984 kB / 386.1 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.893e-05/0.01004, allocations: 11.98 kB / 386.1 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.01005, allocations: 8 kB / 386.1 MB, free: 10.25 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.535e-05/0.01015, allocations: 189.4 kB / 386.3 MB, free: 10.07 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01015, allocations: 3.938 kB / 386.3 MB, free: 10.07 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001939/0.01034, allocations: 43.92 kB / 386.3 MB, free: 10.02 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * 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 (16): * Single equations (assignments): 14 * 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.001136/0.01148, allocations: 492.9 kB / 386.8 MB, free: 9.723 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001703/0.01165, allocations: 91.45 kB / 386.9 MB, free: 9.633 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.01165, allocations: 0 / 386.9 MB, free: 9.633 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.114e-05/0.01171, allocations: 51.59 kB / 386.9 MB, free: 9.578 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002548/0.01197, allocations: 35.88 kB / 387 MB, free: 9.543 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00044/0.01241, allocations: 318 kB / 387.3 MB, free: 9.199 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.21e-05/0.01246, allocations: 75.83 kB / 387.4 MB, free: 9.102 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.729e-05/0.01251, allocations: 21.47 kB / 387.4 MB, free: 9.078 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.838e-05/0.01256, allocations: 28.48 kB / 387.4 MB, free: 9.051 MB / 362.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01256, allocations: 4 kB / 387.4 MB, free: 9.047 MB / 362.7 MB Notification: Performance of Templates: time 0.004148/0.0167, allocations: 2.358 MB / 389.8 MB, free: 6.719 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.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.3738514347933233]