Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.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.0009751/0.0009751, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009181/0.0009181, allocations: 161 kB / 24.56 MB, free: 16 kB / 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.9974/0.9974, allocations: 177.1 MB / 205 MB, free: 5.586 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.2529/0.2529, allocations: 34.26 MB / 295.7 MB, free: 0.7461 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.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 378.1 MB, free: 2.555 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.209e-05/3.408e-05, allocations: 5.688 kB / 378.1 MB, free: 2.551 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.002446/0.00248, allocations: 1.77 MB / 379.9 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001283/0.003762, allocations: 1.005 MB / 380.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001/0.003862, allocations: 0 / 380.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003877/0.00425, allocations: 95.55 kB / 381 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000327/0.004577, allocations: 115.5 kB / 381.1 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002038/0.004781, allocations: 79.55 kB / 381.2 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001732/0.004954, allocations: 119.6 kB / 381.3 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.504e-05/0.005039, allocations: 8 kB / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.414e-05/0.005133, allocations: 71.75 kB / 381.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.139e-05/0.005225, allocations: 55.86 kB / 381.4 MB, free: 15.22 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.573e-05/0.00524, allocations: 4 kB / 381.4 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.542e-05/0.005326, allocations: 43.92 kB / 381.5 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.294e-05/0.005379, allocations: 27.91 kB / 381.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.15e-05/0.00542, allocations: 23.86 kB / 381.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001802/0.005601, allocations: 103.6 kB / 381.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.005605, allocations: 4 kB / 381.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.005606, allocations: 0 / 381.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.96e-06/0.005611, allocations: 4 kB / 381.6 MB, free: 15.01 MB / 362.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.0004777/0.006088, allocations: 451.8 kB / 382.1 MB, free: 14.54 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.006124, allocations: 8.031 kB / 382.1 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.422e-05/0.006178, allocations: 16.84 kB / 382.1 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001763/0.006354, allocations: 148.4 kB / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.006374, allocations: 8.375 kB / 382.3 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.297e-05/0.006397, allocations: 8.266 kB / 382.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001234/0.00652, allocations: 62.94 kB / 382.3 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.006531, allocations: 7.875 kB / 382.3 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.00654, allocations: 0 / 382.3 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.365e-06/0.006549, allocations: 11.98 kB / 382.3 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.253e-05/0.006581, allocations: 4 kB / 382.4 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003029/0.006884, allocations: 291.8 kB / 382.6 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.006987, allocations: 51.16 kB / 382.7 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.976e-05/0.007017, allocations: 23.56 kB / 382.7 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.842e-05/0.007036, allocations: 4 kB / 382.7 MB, free: 13.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001034/0.007139, allocations: 69.05 kB / 382.8 MB, free: 13.73 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.00714, allocations: 0 / 382.8 MB, free: 13.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003833/0.007523, allocations: 165.3 kB / 382.9 MB, free: 13.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.921e-05/0.007553, allocations: 55.39 kB / 383 MB, free: 13.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.007696, allocations: 246.7 kB / 383.2 MB, free: 13.24 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.228e-05/0.007708, allocations: 25.7 kB / 383.3 MB, free: 13.21 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.872e-05/0.007767, allocations: 158.9 kB / 383.4 MB, free: 13.05 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.809e-05/0.007795, allocations: 27.75 kB / 383.4 MB, free: 13.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.464e-05/0.00783, allocations: 31.36 kB / 383.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.007948, allocations: 0.4962 MB / 384 MB, free: 12.47 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.645e-05/0.007975, allocations: 8 kB / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.391e-05/0.008019, allocations: 39.3 kB / 384 MB, free: 12.42 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.122e-05/0.00808, allocations: 55.38 kB / 384.1 MB, free: 12.36 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.008081, allocations: 0 / 384.1 MB, free: 12.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001172/0.008198, allocations: 93.56 kB / 384.2 MB, free: 12.26 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.008212, allocations: 8 kB / 384.2 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.008216, allocations: 0 / 384.2 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.008233, allocations: 0 / 384.2 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.211e-05/0.008305, allocations: 15.98 kB / 384.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.00831, allocations: 0 / 384.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.938e-05/0.008339, allocations: 4 kB / 384.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.633e-06/0.008346, allocations: 8.031 kB / 384.2 MB, free: 12.22 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 7.56e-05/0.008422, allocations: 168.5 kB / 384.4 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.82e-05/0.00844, allocations: 15.89 kB / 384.4 MB, free: 12.03 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001579/0.008598, allocations: 103.1 kB / 384.5 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.008602, allocations: 7.938 kB / 384.5 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.008606, allocations: 3.938 kB / 384.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.008609, allocations: 0 / 384.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003133/0.008923, allocations: 400.9 kB / 384.9 MB, free: 11.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.008925, allocations: 4 kB / 384.9 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.245e-05/0.008958, allocations: 8.031 kB / 384.9 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.00896, allocations: 4 kB / 384.9 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.008969, allocations: 4 kB / 384.9 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.008973, allocations: 7.984 kB / 384.9 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.008975, allocations: 384 / 384.9 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001647/0.009139, allocations: 259.4 kB / 385.2 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.457e-05/0.009154, allocations: 7.953 kB / 385.2 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.041e-05/0.009174, allocations: 4 kB / 385.2 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.357e-05/0.009218, allocations: 8 kB / 385.2 MB, free: 11.15 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.276e-05/0.009251, allocations: 7.984 kB / 385.2 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.009264, allocations: 4 kB / 385.2 MB, free: 11.14 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.693e-05/0.009351, allocations: 193 kB / 385.4 MB, free: 10.95 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009351, allocations: 0 / 385.4 MB, free: 10.95 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001778/0.009529, allocations: 23.94 kB / 385.4 MB, free: 10.93 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.000879/0.01041, allocations: 429.1 kB / 385.8 MB, free: 10.67 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001276/0.01054, allocations: 63.62 kB / 385.9 MB, free: 10.6 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.01054, allocations: 0 / 385.9 MB, free: 10.6 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.938e-05/0.01058, allocations: 31.61 kB / 385.9 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002381/0.01082, allocations: 33.73 kB / 386 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003835/0.0112, allocations: 240.6 kB / 386.2 MB, free: 10.27 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.926e-05/0.01125, allocations: 71.27 kB / 386.3 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.454e-05/0.01128, allocations: 12.98 kB / 386.3 MB, free: 10.16 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.404e-05/0.01132, allocations: 20.48 kB / 386.3 MB, free: 10.14 MB / 362.7 MB Notification: Performance of SimCode: time 5.51e-07/0.01132, allocations: 3.938 kB / 386.3 MB, free: 10.14 MB / 362.7 MB Notification: Performance of Templates: time 0.003582/0.0149, allocations: 1.878 MB / 388.2 MB, free: 8.293 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.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.2342510581947863]