Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.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.0009193/0.0009193, allocations: 80.41 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.000927/0.000927, allocations: 167.6 kB / 25.61 MB, free: 8.902 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.9143/0.9143, allocations: 177.1 MB / 206 MB, free: 4.5 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.1508/0.1508, allocations: 34.25 MB / 296.8 MB, free: 13.95 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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,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.Test21") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 379.4 MB, free: 23.36 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.062e-05/2.194e-05, allocations: 6.25 kB / 379.4 MB, free: 23.35 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.001917/0.001938, allocations: 1.754 MB / 381.1 MB, free: 21.59 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009256/0.002864, allocations: 0.9897 MB / 382.1 MB, free: 20.59 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.827e-05/0.002932, allocations: 3.938 kB / 382.1 MB, free: 20.59 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002397/0.003172, allocations: 39.83 kB / 382.2 MB, free: 20.55 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002382/0.00341, allocations: 107.3 kB / 382.3 MB, free: 20.44 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000157/0.003567, allocations: 79.67 kB / 382.3 MB, free: 20.36 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.003683, allocations: 103.6 kB / 382.4 MB, free: 20.26 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.237e-05/0.003755, allocations: 11.98 kB / 382.5 MB, free: 20.25 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.46e-05/0.00382, allocations: 47.84 kB / 382.5 MB, free: 20.2 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.696e-05/0.003877, allocations: 31.89 kB / 382.5 MB, free: 20.17 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.123e-05/0.003888, allocations: 4 kB / 382.5 MB, free: 20.17 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.246e-05/0.00395, allocations: 47.92 kB / 382.6 MB, free: 20.12 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.635e-05/0.003987, allocations: 31.84 kB / 382.6 MB, free: 20.09 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.366e-05/0.00401, allocations: 15.94 kB / 382.6 MB, free: 20.07 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001251/0.004135, allocations: 99.59 kB / 382.7 MB, free: 19.98 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.004137, allocations: 0 / 382.7 MB, free: 19.98 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.72e-07/0.004138, allocations: 0 / 382.7 MB, free: 19.98 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.256e-06/0.004141, allocations: 4 kB / 382.7 MB, free: 19.97 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.000299/0.00444, allocations: 443.9 kB / 383.2 MB, free: 19.5 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.695e-05/0.004467, allocations: 8.031 kB / 383.2 MB, free: 19.5 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.124e-05/0.004499, allocations: 20.78 kB / 383.2 MB, free: 19.48 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.004605, allocations: 153.1 kB / 383.3 MB, free: 19.3 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.004618, allocations: 384 / 383.3 MB, free: 19.3 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.391e-05/0.004632, allocations: 4.375 kB / 383.4 MB, free: 19.3 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.896e-05/0.004711, allocations: 58.94 kB / 383.4 MB, free: 19.23 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.004719, allocations: 3.938 kB / 383.4 MB, free: 19.23 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.162e-06/0.004726, allocations: 7.984 kB / 383.4 MB, free: 19.22 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.00473, allocations: 0 / 383.4 MB, free: 19.22 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.054e-05/0.00475, allocations: 4 kB / 383.4 MB, free: 19.21 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001681/0.004919, allocations: 268.3 kB / 383.7 MB, free: 18.93 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.948e-05/0.004988, allocations: 59.08 kB / 383.7 MB, free: 18.86 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.747e-05/0.005005, allocations: 15.69 kB / 383.8 MB, free: 18.84 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.027e-06/0.005015, allocations: 4 kB / 383.8 MB, free: 18.83 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.415e-05/0.005079, allocations: 64.98 kB / 383.8 MB, free: 18.75 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 8.31e-07/0.005079, allocations: 0 / 383.8 MB, free: 18.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002604/0.00534, allocations: 137.7 kB / 384 MB, free: 18.61 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.628e-05/0.005356, allocations: 51.41 kB / 384 MB, free: 18.55 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.946e-05/0.005426, allocations: 229.8 kB / 384.2 MB, free: 18.31 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.915e-06/0.005434, allocations: 29.7 kB / 384.3 MB, free: 18.27 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.989e-05/0.005463, allocations: 150.8 kB / 384.4 MB, free: 18.12 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.917e-05/0.005483, allocations: 39.7 kB / 384.5 MB, free: 18.08 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.427e-05/0.005507, allocations: 27.38 kB / 384.5 MB, free: 18.05 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.051e-05/0.005547, allocations: 0.4962 MB / 385 MB, free: 17.54 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.44e-05/0.005562, allocations: 12.17 kB / 385 MB, free: 17.53 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.204e-05/0.005584, allocations: 31.36 kB / 385 MB, free: 17.49 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.635e-05/0.00562, allocations: 47.42 kB / 385.1 MB, free: 17.43 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.005621, allocations: 0 / 385.1 MB, free: 17.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.504e-05/0.005696, allocations: 89.47 kB / 385.1 MB, free: 17.34 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.247e-06/0.005706, allocations: 8.031 kB / 385.2 MB, free: 17.33 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.00571, allocations: 7.984 kB / 385.2 MB, free: 17.32 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.476e-06/0.005718, allocations: 3.984 kB / 385.2 MB, free: 17.32 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.107e-05/0.005769, allocations: 15.94 kB / 385.2 MB, free: 17.3 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.524e-06/0.005772, allocations: 0 / 385.2 MB, free: 17.3 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.518e-05/0.005797, allocations: 4 kB / 385.2 MB, free: 17.3 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.628e-06/0.005801, allocations: 4 kB / 385.2 MB, free: 17.3 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 4.354e-05/0.005845, allocations: 164.5 kB / 385.4 MB, free: 17.12 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.38e-05/0.005859, allocations: 19.84 kB / 385.4 MB, free: 17.11 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001044/0.005963, allocations: 107 kB / 385.5 MB, free: 16.99 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.005965, allocations: 4 kB / 385.5 MB, free: 16.99 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.005966, allocations: 0 / 385.5 MB, free: 16.99 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.005969, allocations: 4 kB / 385.5 MB, free: 16.98 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001854/0.006154, allocations: 353.6 kB / 385.8 MB, free: 16.6 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.006156, allocations: 0 / 385.8 MB, free: 16.6 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.278e-05/0.006179, allocations: 11.98 kB / 385.8 MB, free: 16.59 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.00618, allocations: 4 kB / 385.8 MB, free: 16.59 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.47e-06/0.006185, allocations: 0 / 385.8 MB, free: 16.59 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.006186, allocations: 0 / 385.8 MB, free: 16.59 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.006187, allocations: 4 kB / 385.8 MB, free: 16.58 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.905e-05/0.006276, allocations: 259.7 kB / 386.1 MB, free: 16.3 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.779e-06/0.006286, allocations: 11.95 kB / 386.1 MB, free: 16.29 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/0.0063, allocations: 0 / 386.1 MB, free: 16.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.916e-05/0.006339, allocations: 7.984 kB / 386.1 MB, free: 16.29 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.96e-05/0.006359, allocations: 4 kB / 386.1 MB, free: 16.28 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.006369, allocations: 15.92 kB / 386.1 MB, free: 16.27 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.686e-05/0.006406, allocations: 159.1 kB / 386.3 MB, free: 16.11 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006406, allocations: 0 / 386.3 MB, free: 16.11 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001721/0.006578, allocations: 27.94 kB / 386.3 MB, free: 16.08 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.0008048/0.007383, allocations: 434.8 kB / 386.7 MB, free: 15.82 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 8.684e-05/0.00747, allocations: 55.52 kB / 386.8 MB, free: 15.76 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.007471, allocations: 0 / 386.8 MB, free: 15.76 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.58e-05/0.007497, allocations: 31.67 kB / 386.8 MB, free: 15.72 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002085/0.007705, allocations: 38.62 kB / 386.9 MB, free: 15.69 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002319/0.007937, allocations: 215.8 kB / 387.1 MB, free: 15.45 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.324e-05/0.00796, allocations: 71.2 kB / 387.2 MB, free: 15.36 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.172e-05/0.007992, allocations: 21.03 kB / 387.2 MB, free: 15.34 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.001e-05/0.008042, allocations: 94.19 kB / 387.3 MB, free: 15.24 MB / 314.7 MB Notification: Performance of SimCode: time 5.91e-07/0.008043, allocations: 0 / 387.3 MB, free: 15.24 MB / 314.7 MB Notification: Performance of Templates: time 0.003034/0.01108, allocations: 2.058 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.Test21.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.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.9720054557546973]