Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.0009508/0.0009508, allocations: 80.92 kB / 21.5 MB, free: 2.992 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.001126/0.001126, allocations: 169.3 kB / 24.91 MB, free: 9.184 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 1.033/1.033, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.2666/0.2666, allocations: 34.26 MB / 296.1 MB, free: 0.7344 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.Test20,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.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_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 325.4 MB, free: 7.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.225e-05/2.373e-05, allocations: 5.859 kB / 325.4 MB, free: 7.566 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.002644/0.002668, allocations: 1.802 MB / 327.2 MB, free: 5.75 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001381/0.004049, allocations: 1.01 MB / 328.2 MB, free: 4.734 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.857e-05/0.004138, allocations: 0 / 328.2 MB, free: 4.734 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003035/0.004441, allocations: 47.69 kB / 328.2 MB, free: 4.688 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002953/0.004736, allocations: 87.48 kB / 328.3 MB, free: 4.602 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002257/0.004962, allocations: 83.59 kB / 328.4 MB, free: 4.52 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001552/0.005117, allocations: 107.7 kB / 328.5 MB, free: 4.414 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.374e-05/0.005201, allocations: 11.92 kB / 328.5 MB, free: 4.402 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.779e-05/0.005289, allocations: 55.83 kB / 328.6 MB, free: 4.348 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.396e-05/0.005363, allocations: 27.92 kB / 328.6 MB, free: 4.32 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.005378, allocations: 4 kB / 328.6 MB, free: 4.316 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.725e-05/0.005465, allocations: 47.91 kB / 328.7 MB, free: 4.27 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.638e-05/0.005511, allocations: 19.86 kB / 328.7 MB, free: 4.25 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.228e-05/0.005544, allocations: 16.44 kB / 328.7 MB, free: 4.234 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003184/0.005862, allocations: 107.6 kB / 328.8 MB, free: 4.129 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.005865, allocations: 0 / 328.8 MB, free: 4.129 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.005866, allocations: 0 / 328.8 MB, free: 4.129 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.005871, allocations: 0 / 328.8 MB, free: 4.129 MB / 298.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.0004071/0.006278, allocations: 317.6 kB / 329.1 MB, free: 3.797 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.006313, allocations: 12.03 kB / 329.1 MB, free: 3.785 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.632e-05/0.006349, allocations: 12.92 kB / 329.1 MB, free: 3.773 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001744/0.006524, allocations: 151.4 kB / 329.3 MB, free: 3.602 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.006541, allocations: 4.375 kB / 329.3 MB, free: 3.598 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.741e-05/0.006558, allocations: 4.375 kB / 329.3 MB, free: 3.594 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.00668, allocations: 65.69 kB / 329.4 MB, free: 3.52 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.006691, allocations: 3.938 kB / 329.4 MB, free: 3.516 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.744e-06/0.006699, allocations: 4 kB / 329.4 MB, free: 3.512 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.006705, allocations: 4 kB / 329.4 MB, free: 3.508 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.357e-05/0.006729, allocations: 4 kB / 329.4 MB, free: 3.504 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002351/0.006964, allocations: 169.9 kB / 329.5 MB, free: 3.32 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.007066, allocations: 85.23 kB / 329.6 MB, free: 3.227 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.33e-05/0.007089, allocations: 12.92 kB / 329.6 MB, free: 3.211 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/0.007102, allocations: 0 / 329.6 MB, free: 3.211 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001101/0.007212, allocations: 70.12 kB / 329.7 MB, free: 3.129 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.007213, allocations: 0 / 329.7 MB, free: 3.129 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002904/0.007503, allocations: 109.9 kB / 329.8 MB, free: 3.016 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/0.007535, allocations: 59.39 kB / 329.9 MB, free: 2.945 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.007637, allocations: 177.3 kB / 330 MB, free: 2.758 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.007652, allocations: 33.7 kB / 330.1 MB, free: 2.719 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.092e-05/0.007683, allocations: 96.11 kB / 330.2 MB, free: 2.621 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.551e-05/0.007708, allocations: 23.78 kB / 330.2 MB, free: 2.598 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.255e-05/0.007741, allocations: 25.7 kB / 330.2 MB, free: 2.566 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.101e-05/0.007832, allocations: 326.8 kB / 330.5 MB, free: 2.238 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.022e-05/0.007852, allocations: 6.828 kB / 330.5 MB, free: 2.23 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.478e-05/0.007877, allocations: 29.64 kB / 330.6 MB, free: 2.195 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.749e-05/0.007924, allocations: 48.58 kB / 330.6 MB, free: 2.141 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.007926, allocations: 0 / 330.6 MB, free: 2.141 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.508e-05/0.008021, allocations: 76.38 kB / 330.7 MB, free: 2.059 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.008032, allocations: 4 kB / 330.7 MB, free: 2.055 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.008037, allocations: 0 / 330.7 MB, free: 2.055 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.008048, allocations: 0 / 330.7 MB, free: 2.055 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.427e-05/0.008112, allocations: 19.98 kB / 330.7 MB, free: 2.035 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.424e-06/0.008115, allocations: 0 / 330.7 MB, free: 2.035 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.86e-05/0.008143, allocations: 8 kB / 330.7 MB, free: 2.027 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.008149, allocations: 4 kB / 330.7 MB, free: 2.023 MB / 298.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.24e-05/0.008212, allocations: 116.6 kB / 330.8 MB, free: 1.898 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.509e-05/0.008227, allocations: 27.88 kB / 330.9 MB, free: 1.871 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001021/0.008329, allocations: 71.12 kB / 330.9 MB, free: 1.793 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.008332, allocations: 4 kB / 330.9 MB, free: 1.789 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.203e-06/0.008334, allocations: 0 / 330.9 MB, free: 1.789 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.008336, allocations: 0 / 330.9 MB, free: 1.789 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002196/0.008556, allocations: 303.5 kB / 331.2 MB, free: 1.465 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.008558, allocations: 0 / 331.2 MB, free: 1.465 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.782e-05/0.008585, allocations: 11.94 kB / 331.2 MB, free: 1.453 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.008588, allocations: 0 / 331.2 MB, free: 1.453 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.008595, allocations: 7.984 kB / 331.3 MB, free: 1.445 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.008597, allocations: 4.031 kB / 331.3 MB, free: 1.441 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.008598, allocations: 0 / 331.3 MB, free: 1.441 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001235/0.008722, allocations: 215 kB / 331.5 MB, free: 1.211 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.344e-05/0.008735, allocations: 7.953 kB / 331.5 MB, free: 1.203 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.008752, allocations: 4 kB / 331.5 MB, free: 1.199 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.053e-05/0.008792, allocations: 3.984 kB / 331.5 MB, free: 1.195 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.452e-05/0.008817, allocations: 8 kB / 331.5 MB, free: 1.188 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.00883, allocations: 7.984 kB / 331.5 MB, free: 1.18 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.142e-05/0.008871, allocations: 47.64 kB / 331.5 MB, free: 1.125 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008871, allocations: 0 / 331.5 MB, free: 1.125 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001503/0.009022, allocations: 31.92 kB / 331.6 MB, free: 1.094 MB / 298.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.001246/0.01027, allocations: 0.5702 MB / 332.1 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.933e-05/0.01037, allocations: 44.78 kB / 332.2 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.01037, allocations: 4.062 kB / 332.2 MB, free: 0.7773 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.027e-05/0.0104, allocations: 28.78 kB / 332.2 MB, free: 0.7461 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001835/0.01058, allocations: 27.92 kB / 332.3 MB, free: 0.7188 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005694/0.01115, allocations: 223.7 kB / 332.5 MB, free: 480 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.94e-05/0.01119, allocations: 63.34 kB / 332.5 MB, free: 396 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.182e-05/0.01124, allocations: 21.25 kB / 332.6 MB, free: 372 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.836e-05/0.0113, allocations: 75.36 kB / 332.6 MB, free: 296 kB / 298.7 MB Notification: Performance of SimCode: time 1.112e-06/0.0113, allocations: 0 / 332.6 MB, free: 296 kB / 298.7 MB Notification: Performance of Templates: time 0.004284/0.01559, allocations: 2.018 MB / 334.6 MB, free: 14.31 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/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: 2.975991642102599]