Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.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.001706/0.001706, allocations: 77.88 kB / 21.42 MB, free: 3.07 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.002034/0.002034, allocations: 172.1 kB / 24.82 MB, free: 9.324 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.084/1.084, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3243/0.3243, allocations: 32.8 MB / 294.6 MB, free: 1.172 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 376.6 MB, free: 4.297 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.979e-05/3.192e-05, allocations: 6.25 kB / 376.6 MB, free: 4.289 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.00299/0.003022, allocations: 1.75 MB / 378.3 MB, free: 2.523 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00143/0.004453, allocations: 0.9936 MB / 379.3 MB, free: 1.523 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.314e-05/0.004546, allocations: 4 kB / 379.3 MB, free: 1.52 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003192/0.004865, allocations: 43.7 kB / 379.4 MB, free: 1.477 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003131/0.005178, allocations: 99.47 kB / 379.5 MB, free: 1.379 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001927/0.005371, allocations: 79.59 kB / 379.5 MB, free: 1.301 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001695/0.00554, allocations: 111.6 kB / 379.6 MB, free: 1.191 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.005649, allocations: 4 kB / 379.6 MB, free: 1.188 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001004/0.005749, allocations: 63.81 kB / 379.7 MB, free: 1.125 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.641e-05/0.005825, allocations: 19.92 kB / 379.7 MB, free: 1.105 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.682e-05/0.005842, allocations: 8 kB / 379.7 MB, free: 1.098 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.682e-05/0.005929, allocations: 47.91 kB / 379.8 MB, free: 1.051 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.892e-05/0.005988, allocations: 27.86 kB / 379.8 MB, free: 1.023 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.03e-05/0.006028, allocations: 15.94 kB / 379.8 MB, free: 1.008 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001805/0.006209, allocations: 107.6 kB / 379.9 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.006212, allocations: 0 / 379.9 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.006213, allocations: 3.938 kB / 379.9 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.006218, allocations: 0 / 379.9 MB, free: 0.8984 MB / 346.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.0004493/0.006667, allocations: 451.8 kB / 380.4 MB, free: 432 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.006707, allocations: 12.03 kB / 380.4 MB, free: 420 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.892e-05/0.006746, allocations: 16.89 kB / 380.4 MB, free: 404 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/0.006901, allocations: 160.9 kB / 380.6 MB, free: 216 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.006917, allocations: 384 / 380.6 MB, free: 216 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.221e-05/0.006939, allocations: 4.375 kB / 380.6 MB, free: 212 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.007062, allocations: 62.88 kB / 380.6 MB, free: 140 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.007073, allocations: 3.938 kB / 380.6 MB, free: 136 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.096e-06/0.007081, allocations: 0 / 380.6 MB, free: 136 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.007089, allocations: 4 kB / 380.6 MB, free: 132 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.917e-05/0.007118, allocations: 7.984 kB / 380.6 MB, free: 124 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002707/0.007389, allocations: 264.4 kB / 380.9 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.99e-05/0.007478, allocations: 47.11 kB / 380.9 MB, free: 15.78 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.596e-05/0.007504, allocations: 23.67 kB / 381 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.007522, allocations: 4 kB / 381 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001054/0.007628, allocations: 68.97 kB / 381 MB, free: 15.66 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 2.474e-06/0.00763, allocations: 0 / 381 MB, free: 15.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003588/0.007989, allocations: 137.4 kB / 381.2 MB, free: 15.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.794e-05/0.008017, allocations: 51.41 kB / 381.2 MB, free: 15.46 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.008144, allocations: 237.8 kB / 381.5 MB, free: 15.21 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.433e-05/0.008158, allocations: 29.7 kB / 381.5 MB, free: 15.18 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.866e-05/0.008217, allocations: 154.8 kB / 381.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.068e-05/0.008248, allocations: 27.77 kB / 381.7 MB, free: 14.99 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-05/0.008283, allocations: 31.31 kB / 381.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.008413, allocations: 0.5001 MB / 382.2 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.123e-05/0.008434, allocations: 11.98 kB / 382.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.853e-05/0.008463, allocations: 31.3 kB / 382.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.784e-05/0.008511, allocations: 43.36 kB / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-06/0.008512, allocations: 0 / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001063/0.008618, allocations: 93.47 kB / 382.4 MB, free: 14.24 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.008632, allocations: 8 kB / 382.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.008637, allocations: 0 / 382.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.008649, allocations: 0 / 382.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.084e-05/0.00872, allocations: 15.98 kB / 382.4 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.487e-06/0.008723, allocations: 4 kB / 382.4 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.919e-05/0.008752, allocations: 0 / 382.4 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.851e-06/0.008758, allocations: 4 kB / 382.4 MB, free: 14.21 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 9.108e-05/0.008849, allocations: 168.5 kB / 382.6 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.819e-05/0.008868, allocations: 23.88 kB / 382.6 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001537/0.009021, allocations: 111.2 kB / 382.7 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.009024, allocations: 0 / 382.7 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.245e-06/0.009026, allocations: 0 / 382.7 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.009029, allocations: 0 / 382.7 MB, free: 13.9 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002777/0.009307, allocations: 357.6 kB / 383.1 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.009309, allocations: 0 / 383.1 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.146e-05/0.009341, allocations: 11.98 kB / 383.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.009344, allocations: 0 / 383.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.00935, allocations: 4 kB / 383.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.009352, allocations: 4.406 kB / 383.1 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.644e-06/0.009354, allocations: 0 / 383.1 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001469/0.009501, allocations: 259.4 kB / 383.3 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.476e-05/0.009515, allocations: 11.95 kB / 383.3 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.009532, allocations: 4 kB / 383.3 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.532e-05/0.009578, allocations: 7.984 kB / 383.3 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.836e-05/0.009606, allocations: 4 kB / 383.4 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.00962, allocations: 7.969 kB / 383.4 MB, free: 13.18 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.084e-05/0.00969, allocations: 172.2 kB / 383.5 MB, free: 13.01 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.00969, allocations: 0 / 383.5 MB, free: 13.01 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001858/0.009876, allocations: 27.94 kB / 383.6 MB, free: 12.98 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.0009803/0.01086, allocations: 442.7 kB / 384 MB, free: 12.71 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001062/0.01096, allocations: 43.66 kB / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.01097, allocations: 0 / 384 MB, free: 12.66 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.557e-05/0.011, allocations: 31.61 kB / 384.1 MB, free: 12.63 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00025/0.01125, allocations: 39.84 kB / 384.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003681/0.01162, allocations: 234 kB / 384.3 MB, free: 12.33 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.491e-05/0.01166, allocations: 71.27 kB / 384.4 MB, free: 12.24 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.747e-05/0.0117, allocations: 17.28 kB / 384.4 MB, free: 12.22 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.794e-05/0.01178, allocations: 90.19 kB / 384.5 MB, free: 12.13 MB / 362.7 MB Notification: Performance of SimCode: time 9.92e-07/0.01178, allocations: 0 / 384.5 MB, free: 12.13 MB / 362.7 MB Notification: Performance of Templates: time 0.00441/0.01619, allocations: 2.041 MB / 386.5 MB, free: 10.12 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.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.178192595951259]