Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.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.0009372/0.0009372, 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.0009848/0.0009848, allocations: 167.9 kB / 25.61 MB, free: 8.582 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.9703/0.9703, allocations: 177.2 MB / 206.1 MB, free: 4.477 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.1671/0.1671, allocations: 34.27 MB / 296.9 MB, free: 13.9 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.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18") translateModel(ModelicaTest.Tables.CombiTimeTable.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 379.4 MB, free: 23.3 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.444e-05/2.654e-05, allocations: 2.312 kB / 379.4 MB, free: 23.3 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.002769/0.002795, allocations: 1.739 MB / 381.1 MB, free: 21.54 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001431/0.004226, allocations: 0.9936 MB / 382.1 MB, free: 20.54 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.129e-05/0.004318, allocations: 3.938 kB / 382.1 MB, free: 20.54 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002915/0.004609, allocations: 35.77 kB / 382.2 MB, free: 20.5 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003222/0.004931, allocations: 107.5 kB / 382.3 MB, free: 20.4 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002158/0.005147, allocations: 79.61 kB / 382.3 MB, free: 20.32 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001609/0.005308, allocations: 103.6 kB / 382.4 MB, free: 20.22 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.079e-05/0.005399, allocations: 8 kB / 382.4 MB, free: 20.21 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.019e-05/0.005489, allocations: 59.75 kB / 382.5 MB, free: 20.15 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.591e-05/0.005565, allocations: 23.92 kB / 382.5 MB, free: 20.13 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.612e-05/0.005581, allocations: 4 kB / 382.5 MB, free: 20.12 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.201e-05/0.005673, allocations: 47.91 kB / 382.6 MB, free: 20.08 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.826e-05/0.005721, allocations: 23.92 kB / 382.6 MB, free: 20.05 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.476e-05/0.005756, allocations: 23.92 kB / 382.6 MB, free: 20.03 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001825/0.005939, allocations: 103.6 kB / 382.7 MB, free: 19.93 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.005941, allocations: 0 / 382.7 MB, free: 19.93 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.005943, allocations: 0 / 382.7 MB, free: 19.93 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.005946, allocations: 3.938 kB / 382.7 MB, free: 19.93 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003842/0.006331, allocations: 439.9 kB / 383.2 MB, free: 19.46 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.006367, allocations: 12.03 kB / 383.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.199e-05/0.006409, allocations: 12.89 kB / 383.2 MB, free: 19.44 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.006553, allocations: 152.4 kB / 383.3 MB, free: 19.26 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.678e-05/0.00657, allocations: 384 / 383.3 MB, free: 19.26 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.705e-05/0.006587, allocations: 8.328 kB / 383.3 MB, free: 19.25 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001051/0.006692, allocations: 66.88 kB / 383.4 MB, free: 19.18 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.006702, allocations: 7.938 kB / 383.4 MB, free: 19.17 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/0.006715, allocations: 3.984 kB / 383.4 MB, free: 19.17 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.00672, allocations: 0 / 383.4 MB, free: 19.17 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.209e-05/0.006753, allocations: 7.984 kB / 383.4 MB, free: 19.16 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002267/0.006979, allocations: 256.5 kB / 383.7 MB, free: 18.88 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.558e-05/0.007075, allocations: 51.09 kB / 383.7 MB, free: 18.82 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.414e-05/0.007099, allocations: 15.67 kB / 383.7 MB, free: 18.8 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.271e-05/0.007112, allocations: 4 kB / 383.7 MB, free: 18.8 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.391e-05/0.007206, allocations: 72.98 kB / 383.8 MB, free: 18.71 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.563e-06/0.007207, allocations: 0 / 383.8 MB, free: 18.71 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003482/0.007555, allocations: 133.5 kB / 383.9 MB, free: 18.57 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.245e-05/0.007578, allocations: 51.41 kB / 384 MB, free: 18.51 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.007686, allocations: 223.2 kB / 384.2 MB, free: 18.28 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.268e-06/0.007695, allocations: 25.7 kB / 384.2 MB, free: 18.25 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.847e-05/0.007734, allocations: 150.9 kB / 384.4 MB, free: 18.09 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.898e-05/0.007763, allocations: 27.83 kB / 384.4 MB, free: 18.07 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.579e-05/0.007799, allocations: 23.38 kB / 384.4 MB, free: 18.04 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.946e-05/0.007848, allocations: 0.5 MB / 384.9 MB, free: 17.52 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.076e-05/0.007869, allocations: 15.98 kB / 385 MB, free: 17.51 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.088e-05/0.0079, allocations: 35.3 kB / 385 MB, free: 17.46 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.116e-05/0.007951, allocations: 43.42 kB / 385 MB, free: 17.41 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.007952, allocations: 0 / 385 MB, free: 17.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001133/0.008066, allocations: 93.47 kB / 385.1 MB, free: 17.32 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.008078, allocations: 4 kB / 385.1 MB, free: 17.31 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.008083, allocations: 0 / 385.1 MB, free: 17.31 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.008095, allocations: 3.984 kB / 385.1 MB, free: 17.31 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.283e-05/0.008168, allocations: 16.38 kB / 385.1 MB, free: 17.29 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.815e-06/0.008171, allocations: 4.031 kB / 385.2 MB, free: 17.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.722e-05/0.008208, allocations: 4 kB / 385.2 MB, free: 17.29 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.008216, allocations: 8 kB / 385.2 MB, free: 17.28 MB / 314.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 (10): * Single equations (assignments): 10 * 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.114e-05/0.008277, allocations: 171.7 kB / 385.3 MB, free: 17.1 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.165e-05/0.008299, allocations: 19.84 kB / 385.3 MB, free: 17.08 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001462/0.008445, allocations: 99.06 kB / 385.4 MB, free: 16.98 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.008447, allocations: 0 / 385.4 MB, free: 16.98 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-06/0.008449, allocations: 0 / 385.4 MB, free: 16.98 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.008452, allocations: 0 / 385.4 MB, free: 16.98 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002881/0.00874, allocations: 365.5 kB / 385.8 MB, free: 16.58 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.008743, allocations: 4 kB / 385.8 MB, free: 16.58 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.251e-05/0.008786, allocations: 11.98 kB / 385.8 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.008789, allocations: 0 / 385.8 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.008796, allocations: 0 / 385.8 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.008798, allocations: 4 kB / 385.8 MB, free: 16.56 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.0088, allocations: 0 / 385.8 MB, free: 16.56 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001275/0.008927, allocations: 255.7 kB / 386.1 MB, free: 16.29 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.297e-05/0.00894, allocations: 7.953 kB / 386.1 MB, free: 16.28 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.045e-05/0.008961, allocations: 4 kB / 386.1 MB, free: 16.28 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.755e-05/0.009028, allocations: 32 / 386.1 MB, free: 16.28 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.95e-05/0.009058, allocations: 19.97 kB / 386.1 MB, free: 16.26 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/0.009072, allocations: 4 kB / 386.1 MB, free: 16.25 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.387e-05/0.009126, allocations: 164 kB / 386.3 MB, free: 16.09 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009126, allocations: 0 / 386.3 MB, free: 16.09 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002648/0.00939, allocations: 20 kB / 386.3 MB, free: 16.07 MB / 314.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: 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 (9): * Single equations (assignments): 7 * 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.001218/0.01061, allocations: 444.5 kB / 386.7 MB, free: 15.8 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001199/0.01073, allocations: 47.59 kB / 386.8 MB, free: 15.75 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.01073, allocations: 0 / 386.8 MB, free: 15.75 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.261e-05/0.01077, allocations: 39.67 kB / 386.8 MB, free: 15.71 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003175/0.01109, allocations: 34.69 kB / 386.8 MB, free: 15.68 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003455/0.01144, allocations: 216.2 kB / 387.1 MB, free: 15.43 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.846e-05/0.01147, allocations: 79.12 kB / 387.1 MB, free: 15.33 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.351e-05/0.01152, allocations: 12.97 kB / 387.1 MB, free: 15.32 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.999e-05/0.01159, allocations: 90.19 kB / 387.2 MB, free: 15.23 MB / 314.7 MB Notification: Performance of SimCode: time 8.32e-07/0.01159, allocations: 8.062 kB / 387.2 MB, free: 15.22 MB / 314.7 MB Notification: Performance of Templates: time 0.004259/0.01585, allocations: 2.038 MB / 389.3 MB, free: 13.21 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test18/Test18.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.12793867662549]