Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.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.00105/0.00105, 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.001233/0.001233, allocations: 162.2 kB / 25.6 MB, free: 8.59 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.9505/0.9505, allocations: 177.1 MB / 206 MB, free: 4.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.151/0.151, allocations: 32.8 MB / 295.4 MB, free: 15.37 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 0 / 377.3 MB, free: 25.5 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.237e-05/2.371e-05, allocations: 2.312 kB / 377.3 MB, free: 25.5 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.007467/0.007491, allocations: 1.754 MB / 379.1 MB, free: 23.73 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001285/0.008776, allocations: 1.001 MB / 380.1 MB, free: 22.72 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.914e-05/0.008865, allocations: 0 / 380.1 MB, free: 22.72 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002702/0.009135, allocations: 39.77 kB / 380.1 MB, free: 22.68 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002877/0.009423, allocations: 95.48 kB / 380.2 MB, free: 22.59 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002078/0.009631, allocations: 83.59 kB / 380.3 MB, free: 22.51 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003235/0.01287, allocations: 115.5 kB / 380.4 MB, free: 22.39 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.184e-05/0.01296, allocations: 4 kB / 380.4 MB, free: 22.39 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.758e-05/0.01305, allocations: 55.84 kB / 380.5 MB, free: 22.34 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.197e-05/0.01314, allocations: 31.89 kB / 380.5 MB, free: 22.3 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.01315, allocations: 4 kB / 380.5 MB, free: 22.3 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.01326, allocations: 43.92 kB / 380.6 MB, free: 22.26 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.952e-05/0.01331, allocations: 23.92 kB / 380.6 MB, free: 22.23 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.352e-05/0.01334, allocations: 19.92 kB / 380.6 MB, free: 22.21 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001815/0.01352, allocations: 103.5 kB / 380.7 MB, free: 22.11 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.01353, allocations: 0 / 380.7 MB, free: 22.11 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.01353, allocations: 0 / 380.7 MB, free: 22.11 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.01353, allocations: 0 / 380.7 MB, free: 22.11 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.0003986/0.01393, allocations: 451.8 kB / 381.1 MB, free: 21.64 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.01396, allocations: 15.98 kB / 381.2 MB, free: 21.62 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.261e-05/0.01401, allocations: 20.84 kB / 381.2 MB, free: 21.6 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.01414, allocations: 156.4 kB / 381.3 MB, free: 21.42 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.01416, allocations: 384 / 381.3 MB, free: 21.42 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.644e-05/0.01417, allocations: 8.312 kB / 381.3 MB, free: 21.41 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.084e-05/0.01426, allocations: 58.94 kB / 381.4 MB, free: 21.35 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.01427, allocations: 3.938 kB / 381.4 MB, free: 21.34 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.555e-06/0.01428, allocations: 4 kB / 381.4 MB, free: 21.34 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.01428, allocations: 0 / 381.4 MB, free: 21.34 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.586e-05/0.01431, allocations: 15.92 kB / 381.4 MB, free: 21.32 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001974/0.01451, allocations: 264.4 kB / 381.7 MB, free: 21.04 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.566e-05/0.01459, allocations: 51.09 kB / 381.7 MB, free: 20.98 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.139e-05/0.01461, allocations: 15.69 kB / 381.7 MB, free: 20.96 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.01463, allocations: 4 kB / 381.8 MB, free: 20.95 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.353e-05/0.01471, allocations: 68.97 kB / 381.8 MB, free: 20.87 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.01471, allocations: 0 / 381.8 MB, free: 20.87 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003053/0.01502, allocations: 137.5 kB / 382 MB, free: 20.73 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.897e-05/0.01503, allocations: 51.41 kB / 382 MB, free: 20.67 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.776e-05/0.01513, allocations: 246.2 kB / 382.2 MB, free: 20.41 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.267e-06/0.01514, allocations: 29.7 kB / 382.3 MB, free: 20.38 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.68e-05/0.01518, allocations: 158.8 kB / 382.4 MB, free: 20.21 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.223e-05/0.0152, allocations: 15.86 kB / 382.4 MB, free: 20.2 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.524e-05/0.01524, allocations: 35.34 kB / 382.5 MB, free: 20.16 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.369e-05/0.01528, allocations: 0.4923 MB / 383 MB, free: 19.65 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.891e-05/0.0153, allocations: 15.94 kB / 383 MB, free: 19.64 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.754e-05/0.01533, allocations: 35.34 kB / 383 MB, free: 19.59 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.457e-05/0.01537, allocations: 39.36 kB / 383.1 MB, free: 19.55 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.01537, allocations: 0 / 383.1 MB, free: 19.55 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.003134/0.0185, allocations: 101.5 kB / 383.2 MB, free: 19.44 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.01852, allocations: 4 kB / 383.2 MB, free: 19.44 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.01853, allocations: 0 / 383.2 MB, free: 19.44 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.147e-06/0.01854, allocations: 0 / 383.2 MB, free: 19.44 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.654e-05/0.01861, allocations: 19.98 kB / 383.2 MB, free: 19.42 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.554e-06/0.01862, allocations: 0 / 383.2 MB, free: 19.42 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.87e-05/0.01865, allocations: 3.938 kB / 383.2 MB, free: 19.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.01866, allocations: 4 kB / 383.2 MB, free: 19.41 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 5.944e-05/0.01872, allocations: 163.8 kB / 383.3 MB, free: 19.24 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.109e-05/0.01874, allocations: 19.92 kB / 383.4 MB, free: 19.22 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001444/0.01888, allocations: 103.2 kB / 383.5 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.01889, allocations: 0 / 383.5 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.01889, allocations: 0 / 383.5 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.01889, allocations: 0 / 383.5 MB, free: 19.11 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002376/0.01913, allocations: 377.8 kB / 383.8 MB, free: 18.71 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.01913, allocations: 0 / 383.8 MB, free: 18.71 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.042e-05/0.01916, allocations: 12 kB / 383.9 MB, free: 18.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.01917, allocations: 11.92 kB / 383.9 MB, free: 18.68 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.092e-06/0.01917, allocations: 0 / 383.9 MB, free: 18.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.01917, allocations: 8.016 kB / 383.9 MB, free: 18.68 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.01918, allocations: 0 / 383.9 MB, free: 18.68 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001111/0.01929, allocations: 255.4 kB / 384.1 MB, free: 18.4 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.178e-05/0.0193, allocations: 7.953 kB / 384.1 MB, free: 18.39 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/0.01932, allocations: 4 kB / 384.1 MB, free: 18.39 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.497e-05/0.01938, allocations: 4 kB / 384.1 MB, free: 18.39 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.695e-05/0.01941, allocations: 7.984 kB / 384.1 MB, free: 18.38 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.01942, allocations: 0 / 384.1 MB, free: 18.38 MB / 314.7 MB Notification: Performance of sorting global known variables: time 6.043e-05/0.01948, allocations: 180.2 kB / 384.3 MB, free: 18.2 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01948, allocations: 0 / 384.3 MB, free: 18.2 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002494/0.01973, allocations: 20 kB / 384.3 MB, free: 18.18 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.0009866/0.02072, allocations: 439.6 kB / 384.8 MB, free: 17.93 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001015/0.02082, allocations: 51.53 kB / 384.8 MB, free: 17.87 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.02082, allocations: 0 / 384.8 MB, free: 17.87 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.623e-05/0.02086, allocations: 27.67 kB / 384.8 MB, free: 17.84 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002897/0.02115, allocations: 31.08 kB / 384.9 MB, free: 17.81 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003351/0.0245, allocations: 235.9 kB / 385.1 MB, free: 17.55 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.203e-05/0.02453, allocations: 71.2 kB / 385.2 MB, free: 17.46 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.614e-05/0.02458, allocations: 24.95 kB / 385.2 MB, free: 17.43 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.454e-05/0.02464, allocations: 90.19 kB / 385.3 MB, free: 17.34 MB / 314.7 MB Notification: Performance of SimCode: time 6.11e-07/0.02464, allocations: 0 / 385.3 MB, free: 17.34 MB / 314.7 MB Notification: Performance of Templates: time 0.006837/0.03148, allocations: 2.052 MB / 387.3 MB, free: 15.32 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.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.3055594940669835]