Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.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.001449/0.001449, 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.0009759/0.0009759, allocations: 161 kB / 24.56 MB, free: 16 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.041/1.041, allocations: 177.1 MB / 205 MB, free: 5.633 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.3019/0.3019, allocations: 34.25 MB / 295.7 MB, free: 0.7539 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.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 378.1 MB, free: 2.574 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.393e-05/2.535e-05, allocations: 5.266 kB / 378.1 MB, free: 2.57 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.002567/0.002592, allocations: 1.766 MB / 379.9 MB, free: 0.7891 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001782/0.004374, allocations: 1.734 MB / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.197e-05/0.004466, allocations: 0 / 381.6 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003071/0.004774, allocations: 39.7 kB / 381.7 MB, free: 15.01 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00036/0.005134, allocations: 107.4 kB / 381.8 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002025/0.005336, allocations: 75.66 kB / 381.8 MB, free: 14.83 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000157/0.005493, allocations: 119.6 kB / 382 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.36e-05/0.005577, allocations: 7.984 kB / 382 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.318e-05/0.00566, allocations: 55.84 kB / 382 MB, free: 14.65 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.747e-05/0.005757, allocations: 35.89 kB / 382.1 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.005775, allocations: 4 kB / 382.1 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000157/0.005932, allocations: 111.7 kB / 382.2 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.741e-05/0.005979, allocations: 15.94 kB / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.793e-05/0.006017, allocations: 23.91 kB / 382.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002259/0.006243, allocations: 155.5 kB / 382.4 MB, free: 14.31 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.006245, allocations: 0 / 382.4 MB, free: 14.31 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.006246, allocations: 0 / 382.4 MB, free: 14.31 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.93e-06/0.006251, allocations: 8 kB / 382.4 MB, free: 14.3 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004482/0.006699, allocations: 455.7 kB / 382.8 MB, free: 13.82 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.006734, allocations: 12.03 kB / 382.8 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.805e-05/0.006782, allocations: 12.89 kB / 382.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.006949, allocations: 145 kB / 383 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.006967, allocations: 384 / 383 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.502e-05/0.006992, allocations: 8.375 kB / 383 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.007133, allocations: 107.4 kB / 383.1 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.007143, allocations: 3.953 kB / 383.1 MB, free: 13.49 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.007153, allocations: 11.92 kB / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.00716, allocations: 4 kB / 383.1 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.317e-05/0.007193, allocations: 8 kB / 383.1 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002989/0.007492, allocations: 287.8 kB / 383.4 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.738e-05/0.00759, allocations: 47.17 kB / 383.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.999e-05/0.00762, allocations: 27.61 kB / 383.5 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.295e-05/0.007633, allocations: 0 / 383.5 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.333e-05/0.007726, allocations: 65.05 kB / 383.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.007727, allocations: 0 / 383.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003829/0.00811, allocations: 161.3 kB / 383.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.842e-05/0.008149, allocations: 81.09 kB / 383.8 MB, free: 12.72 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/0.008286, allocations: 220.8 kB / 384 MB, free: 12.49 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.008301, allocations: 29.7 kB / 384 MB, free: 12.45 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002998/0.008601, allocations: 142.9 kB / 384.2 MB, free: 12.31 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.682e-05/0.008627, allocations: 27.78 kB / 384.2 MB, free: 12.28 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.378e-05/0.008661, allocations: 27.38 kB / 384.2 MB, free: 12.25 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.008765, allocations: 0.4922 MB / 384.7 MB, free: 11.74 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.613e-05/0.008791, allocations: 15.98 kB / 384.7 MB, free: 11.73 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.556e-05/0.008836, allocations: 72.69 kB / 384.8 MB, free: 11.64 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.799e-05/0.008894, allocations: 55.47 kB / 384.8 MB, free: 11.57 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.008895, allocations: 0 / 384.8 MB, free: 11.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001124/0.009008, allocations: 97.5 kB / 384.9 MB, free: 11.47 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/0.009019, allocations: 4 kB / 384.9 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.009024, allocations: 0 / 384.9 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.009039, allocations: 0 / 384.9 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.757e-05/0.009106, allocations: 16 kB / 385 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.009111, allocations: 0 / 385 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.376e-05/0.009144, allocations: 15.92 kB / 385 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.00915, allocations: 0 / 385 MB, free: 11.44 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 (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 7.334e-05/0.009224, allocations: 176.5 kB / 385.1 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.192e-05/0.009246, allocations: 11.95 kB / 385.2 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001482/0.009394, allocations: 98.44 kB / 385.3 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.009397, allocations: 7.938 kB / 385.3 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.0094, allocations: 0 / 385.3 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.009403, allocations: 0 / 385.3 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002866/0.00969, allocations: 388.9 kB / 385.6 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.009693, allocations: 4 kB / 385.6 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.986e-05/0.009723, allocations: 11.98 kB / 385.7 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.009725, allocations: 4.031 kB / 385.7 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.009732, allocations: 0 / 385.7 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.009735, allocations: 4 kB / 385.7 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.009736, allocations: 0 / 385.7 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001418/0.009878, allocations: 255.4 kB / 385.9 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.218e-05/0.00989, allocations: 11.95 kB / 385.9 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/0.009908, allocations: 4.359 kB / 385.9 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.363e-05/0.009952, allocations: 4 kB / 385.9 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.418e-05/0.009986, allocations: 15.92 kB / 385.9 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/0.009999, allocations: 4 kB / 386 MB, free: 10.37 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.246e-05/0.01007, allocations: 169.6 kB / 386.1 MB, free: 10.2 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01007, allocations: 0 / 386.1 MB, free: 10.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000214/0.01029, allocations: 43.86 kB / 386.2 MB, free: 10.16 MB / 362.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.001082/0.01137, allocations: 0.5504 MB / 386.7 MB, free: 9.812 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001218/0.01149, allocations: 43.67 kB / 386.8 MB, free: 9.766 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.01149, allocations: 4 kB / 386.8 MB, free: 9.762 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.006e-05/0.01153, allocations: 35.61 kB / 386.8 MB, free: 9.723 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002258/0.01176, allocations: 34.91 kB / 386.8 MB, free: 9.691 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003254/0.01208, allocations: 214 kB / 387 MB, free: 9.449 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.772e-05/0.01212, allocations: 63.34 kB / 387.1 MB, free: 9.367 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.235e-05/0.01217, allocations: 21.2 kB / 387.1 MB, free: 9.344 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.681e-05/0.01221, allocations: 24.48 kB / 387.1 MB, free: 9.32 MB / 362.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01221, allocations: 0 / 387.1 MB, free: 9.32 MB / 362.7 MB Notification: Performance of Templates: time 0.004068/0.01628, allocations: 2.528 MB / 389.7 MB, free: 6.82 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.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.3858851180411875]