Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.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.002034/0.002034, allocations: 96.2 kB / 20.21 MB, free: 4.195 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.002559/0.002559, allocations: 157.3 kB / 23.52 MB, free: 0.8945 MB / 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.583/1.583, allocations: 158.6 MB / 185.3 MB, free: 2.883 MB / 170.7 MB " [Timeout remaining time 178] 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.2294/0.2294, allocations: 32.38 MB / 270 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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 347 MB, free: 9.738 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.934e-05/4.155e-05, allocations: 2.312 kB / 347 MB, free: 9.734 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.004386/0.004428, allocations: 1.889 MB / 348.9 MB, free: 7.836 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001814/0.006242, allocations: 0.8038 MB / 349.7 MB, free: 7.023 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001407/0.006382, allocations: 0 / 349.7 MB, free: 7.023 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003952/0.006778, allocations: 47.64 kB / 349.7 MB, free: 6.977 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003344/0.007112, allocations: 63.62 kB / 349.8 MB, free: 6.914 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004203/0.007532, allocations: 99.67 kB / 349.9 MB, free: 6.816 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002653/0.007798, allocations: 139.5 kB / 350 MB, free: 6.68 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.00794, allocations: 29.61 kB / 350.1 MB, free: 6.648 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001707/0.008111, allocations: 71.75 kB / 350.1 MB, free: 6.578 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001144/0.008225, allocations: 35.89 kB / 350.2 MB, free: 6.543 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.127e-05/0.008256, allocations: 8 kB / 350.2 MB, free: 6.535 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001261/0.008382, allocations: 43.92 kB / 350.2 MB, free: 6.492 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.289e-05/0.008455, allocations: 31.84 kB / 350.3 MB, free: 6.461 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.78e-05/0.008533, allocations: 27.92 kB / 350.3 MB, free: 6.434 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003343/0.008867, allocations: 155.4 kB / 350.4 MB, free: 6.281 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.008871, allocations: 0 / 350.4 MB, free: 6.281 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.008872, allocations: 0 / 350.4 MB, free: 6.281 MB / 282.7 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.008878, allocations: 4 kB / 350.4 MB, free: 6.277 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007137/0.009592, allocations: 403.1 kB / 350.8 MB, free: 5.848 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.009632, allocations: 8.031 kB / 350.8 MB, free: 5.84 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.662e-05/0.009728, allocations: 32.83 kB / 350.9 MB, free: 5.809 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003749/0.0101, allocations: 165.5 kB / 351 MB, free: 5.621 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.01012, allocations: 384 / 351 MB, free: 5.621 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.117e-05/0.01017, allocations: 16.36 kB / 351.1 MB, free: 5.605 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003397/0.0105, allocations: 134.4 kB / 351.2 MB, free: 5.453 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/0.01052, allocations: 11.88 kB / 351.2 MB, free: 5.441 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.183e-05/0.01054, allocations: 4 kB / 351.2 MB, free: 5.438 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.01055, allocations: 0 / 351.2 MB, free: 5.438 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002315/0.01078, allocations: 47.97 kB / 351.2 MB, free: 5.391 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006425/0.01142, allocations: 452.7 kB / 351.7 MB, free: 4.91 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004947/0.01192, allocations: 82.66 kB / 351.8 MB, free: 4.82 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001679/0.01209, allocations: 44.77 kB / 351.8 MB, free: 4.773 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.376e-05/0.01211, allocations: 4 kB / 351.8 MB, free: 4.77 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002644/0.01237, allocations: 109.1 kB / 351.9 MB, free: 4.645 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.663e-06/0.01238, allocations: 0 / 351.9 MB, free: 4.645 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006404/0.01302, allocations: 145.5 kB / 352.1 MB, free: 4.496 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/0.01305, allocations: 55.39 kB / 352.1 MB, free: 4.43 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002335/0.01328, allocations: 191.6 kB / 352.3 MB, free: 4.23 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.0133, allocations: 25.7 kB / 352.3 MB, free: 4.199 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.884e-05/0.01337, allocations: 124 kB / 352.5 MB, free: 4.074 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.579e-05/0.01341, allocations: 35.73 kB / 352.5 MB, free: 4.039 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.257e-05/0.01347, allocations: 25.72 kB / 352.5 MB, free: 4.008 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.297e-05/0.01355, allocations: 326.8 kB / 352.8 MB, free: 3.68 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001499/0.0137, allocations: 35.97 kB / 352.9 MB, free: 3.645 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001685/0.01386, allocations: 64.22 kB / 352.9 MB, free: 3.566 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003146/0.01418, allocations: 104.5 kB / 353 MB, free: 3.449 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.01418, allocations: 0 / 353 MB, free: 3.449 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004761/0.01466, allocations: 145.4 kB / 353.2 MB, free: 3.301 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.01468, allocations: 8 kB / 353.2 MB, free: 3.293 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.01469, allocations: 0 / 353.2 MB, free: 3.293 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.14e-05/0.01472, allocations: 0 / 353.2 MB, free: 3.293 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001833/0.0149, allocations: 27.92 kB / 353.2 MB, free: 3.266 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.01491, allocations: 4.125 kB / 353.2 MB, free: 3.262 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001431/0.01505, allocations: 15.98 kB / 353.2 MB, free: 3.246 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.799e-05/0.01507, allocations: 4 kB / 353.2 MB, free: 3.242 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 0.0001287/0.0152, allocations: 133.7 kB / 353.4 MB, free: 3.102 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.069e-05/0.01525, allocations: 19.89 kB / 353.4 MB, free: 3.082 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004772/0.01573, allocations: 135 kB / 353.5 MB, free: 2.938 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.01573, allocations: 0 / 353.5 MB, free: 2.938 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.01574, allocations: 0 / 353.5 MB, free: 2.938 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.01574, allocations: 0 / 353.5 MB, free: 2.938 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001648/0.01591, allocations: 161.2 kB / 353.7 MB, free: 2.75 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.01591, allocations: 0 / 353.7 MB, free: 2.75 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001394/0.01605, allocations: 15.94 kB / 353.7 MB, free: 2.734 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/0.01606, allocations: 3.984 kB / 353.7 MB, free: 2.73 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.01607, allocations: 0 / 353.7 MB, free: 2.73 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-06/0.01608, allocations: 8 kB / 353.7 MB, free: 2.723 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.01608, allocations: 0 / 353.7 MB, free: 2.723 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006332/0.01671, allocations: 196.8 kB / 353.9 MB, free: 2.512 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.419e-05/0.01675, allocations: 11.98 kB / 353.9 MB, free: 2.5 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.829e-05/0.01679, allocations: 8.062 kB / 353.9 MB, free: 2.492 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.0169, allocations: 7.984 kB / 353.9 MB, free: 2.484 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.679e-05/0.01697, allocations: 4 kB / 353.9 MB, free: 2.48 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.624e-05/0.01699, allocations: 7.984 kB / 353.9 MB, free: 2.473 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001515/0.01715, allocations: 145.1 kB / 354.1 MB, free: 2.332 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.01715, allocations: 0 / 354.1 MB, free: 2.332 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004495/0.0176, allocations: 31.89 kB / 354.1 MB, free: 2.301 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.002981/0.02058, allocations: 440.3 kB / 354.5 MB, free: 1.977 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003813/0.02096, allocations: 87.83 kB / 354.6 MB, free: 1.891 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.02096, allocations: 0 / 354.6 MB, free: 1.891 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001799/0.02114, allocations: 35.92 kB / 354.7 MB, free: 1.855 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005085/0.02165, allocations: 49.45 kB / 354.7 MB, free: 1.809 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007003/0.02235, allocations: 270.5 kB / 355 MB, free: 1.52 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.998e-05/0.02244, allocations: 107 kB / 355.1 MB, free: 1.395 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001003/0.02254, allocations: 17.14 kB / 355.1 MB, free: 1.379 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.352e-05/0.0226, allocations: 16.5 kB / 355.1 MB, free: 1.363 MB / 282.7 MB Notification: Performance of SimCode: time 6.31e-07/0.0226, allocations: 0 / 355.1 MB, free: 1.363 MB / 282.7 MB Notification: Performance of Templates: time 0.009509/0.03211, allocations: 2.053 MB / 357.2 MB, free: 15.33 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.88727912097238]