Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.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.001158/0.001158, allocations: 88.2 kB / 20.95 MB, free: 3.605 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.001368/0.001368, allocations: 169 kB / 24.24 MB, free: 316 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.056/1.056, allocations: 158.6 MB / 186 MB, free: 2.934 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1474/0.1474, allocations: 32.37 MB / 270.7 MB, free: 14.78 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20") translateModel(ModelicaTest.Tables.CombiTimeTable.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 3.938 kB / 347.7 MB, free: 9.707 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.471e-05/1.626e-05, allocations: 2.312 kB / 347.7 MB, free: 9.703 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.001779/0.001796, allocations: 1.74 MB / 349.5 MB, free: 7.953 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008951/0.002691, allocations: 0.7803 MB / 350.3 MB, free: 7.164 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.949e-05/0.00275, allocations: 4 kB / 350.3 MB, free: 7.16 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002169/0.002967, allocations: 51.69 kB / 350.3 MB, free: 7.109 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001422/0.003109, allocations: 51.77 kB / 350.4 MB, free: 7.059 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001624/0.003272, allocations: 87.69 kB / 350.5 MB, free: 6.973 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001153/0.003387, allocations: 95.64 kB / 350.6 MB, free: 6.879 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.34e-05/0.00346, allocations: 12.22 kB / 350.6 MB, free: 6.867 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.212e-05/0.003532, allocations: 51.83 kB / 350.6 MB, free: 6.816 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.29e-05/0.003585, allocations: 19.92 kB / 350.6 MB, free: 6.797 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.0036, allocations: 4 kB / 350.6 MB, free: 6.793 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.349e-05/0.003664, allocations: 47.91 kB / 350.7 MB, free: 6.746 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.755e-05/0.003702, allocations: 23.92 kB / 350.7 MB, free: 6.723 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.96e-05/0.003731, allocations: 19.92 kB / 350.7 MB, free: 6.703 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001266/0.003858, allocations: 107.5 kB / 350.8 MB, free: 6.598 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.00386, allocations: 0 / 350.8 MB, free: 6.598 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.00386, allocations: 0 / 350.8 MB, free: 6.598 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.267e-06/0.003863, allocations: 0 / 350.8 MB, free: 6.598 MB / 282.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.0002982/0.004162, allocations: 435.9 kB / 351.3 MB, free: 6.137 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.245e-05/0.004194, allocations: 12.03 kB / 351.3 MB, free: 6.125 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.213e-05/0.004226, allocations: 12.88 kB / 351.3 MB, free: 6.113 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/0.004327, allocations: 148.4 kB / 351.4 MB, free: 5.941 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.00434, allocations: 4.375 kB / 351.4 MB, free: 5.938 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.439e-05/0.004354, allocations: 8.328 kB / 351.4 MB, free: 5.93 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8e-05/0.004434, allocations: 70.88 kB / 351.5 MB, free: 5.852 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.004442, allocations: 3.938 kB / 351.5 MB, free: 5.848 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.004449, allocations: 0 / 351.5 MB, free: 5.848 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.004455, allocations: 0 / 351.5 MB, free: 5.848 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.275e-05/0.004488, allocations: 11.98 kB / 351.5 MB, free: 5.836 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002065/0.004694, allocations: 275.8 kB / 351.8 MB, free: 5.531 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001194/0.004813, allocations: 59.09 kB / 351.9 MB, free: 5.461 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.462e-05/0.004908, allocations: 19.62 kB / 351.9 MB, free: 5.438 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.004926, allocations: 4 kB / 351.9 MB, free: 5.434 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001145/0.00504, allocations: 69.05 kB / 351.9 MB, free: 5.352 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 2.605e-06/0.005043, allocations: 0 / 351.9 MB, free: 5.352 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004082/0.005451, allocations: 153.3 kB / 352.1 MB, free: 5.195 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.492e-05/0.005476, allocations: 55.39 kB / 352.1 MB, free: 5.129 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.005579, allocations: 228 kB / 352.4 MB, free: 4.891 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/0.005588, allocations: 25.7 kB / 352.4 MB, free: 4.859 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.397e-05/0.005622, allocations: 150.9 kB / 352.5 MB, free: 4.707 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.516e-05/0.005647, allocations: 31.73 kB / 352.6 MB, free: 4.676 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.324e-05/0.00568, allocations: 31.36 kB / 352.6 MB, free: 4.637 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.908e-05/0.005729, allocations: 0.4923 MB / 353.1 MB, free: 4.133 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.506e-05/0.005754, allocations: 20.31 kB / 353.1 MB, free: 4.113 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.16e-05/0.005786, allocations: 31.36 kB / 353.1 MB, free: 4.074 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.355e-05/0.005839, allocations: 51.31 kB / 353.2 MB, free: 4.016 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.005841, allocations: 4 kB / 353.2 MB, free: 4.012 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001031/0.005944, allocations: 93.56 kB / 353.3 MB, free: 3.914 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.005958, allocations: 4 kB / 353.3 MB, free: 3.91 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.005963, allocations: 0 / 353.3 MB, free: 3.91 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.005976, allocations: 0 / 353.3 MB, free: 3.91 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.997e-05/0.006056, allocations: 16 kB / 353.3 MB, free: 3.895 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.006063, allocations: 8.016 kB / 353.3 MB, free: 3.887 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.082e-05/0.006094, allocations: 0 / 353.3 MB, free: 3.887 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/0.006099, allocations: 7.938 kB / 353.3 MB, free: 3.879 MB / 282.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.544e-05/0.006155, allocations: 164.5 kB / 353.5 MB, free: 3.707 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.591e-05/0.00617, allocations: 19.91 kB / 353.5 MB, free: 3.688 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001565/0.006327, allocations: 102.5 kB / 353.6 MB, free: 3.582 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.006334, allocations: 4 kB / 353.6 MB, free: 3.578 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.006338, allocations: 0 / 353.6 MB, free: 3.578 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.006342, allocations: 0 / 353.6 MB, free: 3.578 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002521/0.006594, allocations: 397 kB / 354 MB, free: 3.145 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.006597, allocations: 3.984 kB / 354 MB, free: 3.141 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.952e-05/0.006626, allocations: 11.98 kB / 354 MB, free: 3.129 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.006629, allocations: 0 / 354 MB, free: 3.129 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.326e-06/0.006637, allocations: 4 kB / 354 MB, free: 3.125 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.006639, allocations: 0 / 354 MB, free: 3.125 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.00664, allocations: 0 / 354 MB, free: 3.125 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001116/0.006752, allocations: 259.4 kB / 354.3 MB, free: 2.848 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.328e-05/0.006765, allocations: 7.953 kB / 354.3 MB, free: 2.84 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.006783, allocations: 4 kB / 354.3 MB, free: 2.836 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.419e-05/0.006828, allocations: 7.984 kB / 354.3 MB, free: 2.828 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.172e-05/0.006859, allocations: 8.031 kB / 354.3 MB, free: 2.82 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.006873, allocations: 11.92 kB / 354.3 MB, free: 2.809 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.134e-05/0.006925, allocations: 164 kB / 354.5 MB, free: 2.648 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-08/0.006925, allocations: 0 / 354.5 MB, free: 2.648 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001688/0.007094, allocations: 27.94 kB / 354.5 MB, free: 2.621 MB / 282.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.0009779/0.008072, allocations: 439.4 kB / 354.9 MB, free: 2.281 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001246/0.008196, allocations: 59.53 kB / 355 MB, free: 2.219 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.0082, allocations: 0 / 355 MB, free: 2.219 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.421e-05/0.008234, allocations: 35.73 kB / 355 MB, free: 2.18 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002637/0.008498, allocations: 31.89 kB / 355.1 MB, free: 2.148 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003342/0.008832, allocations: 221.6 kB / 355.3 MB, free: 1.898 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.045e-05/0.008862, allocations: 67.33 kB / 355.3 MB, free: 1.812 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.387e-05/0.008896, allocations: 20.47 kB / 355.4 MB, free: 1.793 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.791e-05/0.008924, allocations: 16.5 kB / 355.4 MB, free: 1.777 MB / 282.7 MB Notification: Performance of SimCode: time 1.192e-06/0.008925, allocations: 4.062 kB / 355.4 MB, free: 1.773 MB / 282.7 MB Notification: Performance of Templates: time 0.003541/0.01247, allocations: 1.838 MB / 357.2 MB, free: 15.95 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.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.2229890150483698]