Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.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.001416/0.001416, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.001742/0.001742, allocations: 170 kB / 24.91 MB, free: 9.207 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.021/1.021, allocations: 177.1 MB / 205.3 MB, free: 5.457 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.2696/0.2696, allocations: 34.25 MB / 296.1 MB, free: 0.6562 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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 325.4 MB, free: 7.531 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.176e-05/1.298e-05, allocations: 3.188 kB / 325.4 MB, free: 7.527 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.002047/0.00206, allocations: 1.815 MB / 327.2 MB, free: 5.699 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001094/0.003154, allocations: 1.006 MB / 328.2 MB, free: 4.688 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.556e-05/0.00322, allocations: 0 / 328.2 MB, free: 4.688 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002264/0.003446, allocations: 39.72 kB / 328.2 MB, free: 4.648 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002258/0.003672, allocations: 95.47 kB / 328.3 MB, free: 4.555 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001474/0.003819, allocations: 83.59 kB / 328.4 MB, free: 4.473 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001283/0.003948, allocations: 103.7 kB / 328.5 MB, free: 4.371 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.721e-05/0.004015, allocations: 15.91 kB / 328.5 MB, free: 4.355 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.331e-05/0.004088, allocations: 51.84 kB / 328.6 MB, free: 4.305 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.216e-05/0.00415, allocations: 27.89 kB / 328.6 MB, free: 4.277 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.004164, allocations: 4 kB / 328.6 MB, free: 4.273 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.913e-05/0.004233, allocations: 43.92 kB / 328.7 MB, free: 4.23 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.728e-05/0.004271, allocations: 19.88 kB / 328.7 MB, free: 4.211 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.88e-05/0.004299, allocations: 20.42 kB / 328.7 MB, free: 4.191 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001395/0.004439, allocations: 103.6 kB / 328.8 MB, free: 4.09 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.292e-06/0.00444, allocations: 0 / 328.8 MB, free: 4.09 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.004441, allocations: 4 kB / 328.8 MB, free: 4.086 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.046e-06/0.004444, allocations: 0 / 328.8 MB, free: 4.086 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.0003152/0.004759, allocations: 325.4 kB / 329.1 MB, free: 3.746 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.973e-05/0.004789, allocations: 12.03 kB / 329.1 MB, free: 3.734 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.591e-05/0.004815, allocations: 8.922 kB / 329.1 MB, free: 3.727 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001319/0.004947, allocations: 147.4 kB / 329.3 MB, free: 3.559 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.00496, allocations: 4.375 kB / 329.3 MB, free: 3.555 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/0.004974, allocations: 4.375 kB / 329.3 MB, free: 3.551 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.538e-05/0.005059, allocations: 61.77 kB / 329.3 MB, free: 3.48 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.005068, allocations: 3.938 kB / 329.4 MB, free: 3.477 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.621e-06/0.005074, allocations: 4 kB / 329.4 MB, free: 3.473 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.005079, allocations: 0 / 329.4 MB, free: 3.473 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.041e-05/0.005109, allocations: 15.92 kB / 329.4 MB, free: 3.457 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001805/0.00529, allocations: 161.9 kB / 329.5 MB, free: 3.281 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.543e-05/0.005365, allocations: 85.36 kB / 329.6 MB, free: 3.188 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.771e-05/0.005383, allocations: 12.86 kB / 329.6 MB, free: 3.172 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.445e-06/0.005392, allocations: 0 / 329.6 MB, free: 3.172 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.237e-05/0.005464, allocations: 70.08 kB / 329.7 MB, free: 3.09 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 9.52e-07/0.005465, allocations: 4 kB / 329.7 MB, free: 3.086 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.000241/0.005706, allocations: 117.5 kB / 329.8 MB, free: 2.965 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.617e-05/0.005732, allocations: 51.41 kB / 329.9 MB, free: 2.902 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.485e-05/0.005827, allocations: 177.3 kB / 330 MB, free: 2.715 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.00584, allocations: 33.7 kB / 330.1 MB, free: 2.676 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.806e-05/0.005868, allocations: 96.11 kB / 330.2 MB, free: 2.578 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.441e-05/0.005892, allocations: 27.77 kB / 330.2 MB, free: 2.551 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.72e-05/0.005919, allocations: 21.72 kB / 330.2 MB, free: 2.523 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.317e-05/0.005993, allocations: 330.8 kB / 330.5 MB, free: 2.191 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.474e-05/0.006007, allocations: 10.81 kB / 330.5 MB, free: 2.18 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.105e-05/0.006028, allocations: 25.72 kB / 330.6 MB, free: 2.148 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.433e-05/0.006073, allocations: 40.45 kB / 330.6 MB, free: 2.102 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.006074, allocations: 3.984 kB / 330.6 MB, free: 2.098 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.582e-05/0.00614, allocations: 64.45 kB / 330.7 MB, free: 2.027 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.006152, allocations: 11.98 kB / 330.7 MB, free: 2.016 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.006156, allocations: 7.875 kB / 330.7 MB, free: 2.008 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.006166, allocations: 0 / 330.7 MB, free: 2.008 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.312e-05/0.00622, allocations: 12 kB / 330.7 MB, free: 1.996 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.627e-06/0.006223, allocations: 4 kB / 330.7 MB, free: 1.992 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.547e-05/0.006249, allocations: 16.02 kB / 330.7 MB, free: 1.977 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.62e-06/0.006254, allocations: 4 kB / 330.7 MB, free: 1.973 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 5.4e-05/0.006308, allocations: 115.5 kB / 330.8 MB, free: 1.852 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.211e-05/0.00632, allocations: 15.92 kB / 330.9 MB, free: 1.836 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.863e-05/0.006409, allocations: 71.08 kB / 330.9 MB, free: 1.758 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.00641, allocations: 0 / 330.9 MB, free: 1.758 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.006412, allocations: 4 kB / 330.9 MB, free: 1.754 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.006415, allocations: 0 / 330.9 MB, free: 1.754 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001955/0.006611, allocations: 303.5 kB / 331.2 MB, free: 1.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.006612, allocations: 4.031 kB / 331.2 MB, free: 1.426 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.113e-05/0.006633, allocations: 12 kB / 331.2 MB, free: 1.414 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.006635, allocations: 0 / 331.2 MB, free: 1.414 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-06/0.00664, allocations: 0 / 331.2 MB, free: 1.414 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.006642, allocations: 4 kB / 331.2 MB, free: 1.41 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.006645, allocations: 3.938 kB / 331.3 MB, free: 1.406 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.601e-05/0.006741, allocations: 215 kB / 331.5 MB, free: 1.176 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.037e-05/0.006751, allocations: 7.953 kB / 331.5 MB, free: 1.168 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.369e-05/0.006765, allocations: 3.984 kB / 331.5 MB, free: 1.164 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.857e-05/0.006803, allocations: 8.375 kB / 331.5 MB, free: 1.156 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.286e-05/0.006826, allocations: 11.92 kB / 331.5 MB, free: 1.145 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.909e-06/0.006836, allocations: 8 kB / 331.5 MB, free: 1.137 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.077e-05/0.006877, allocations: 55.62 kB / 331.6 MB, free: 1.078 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006877, allocations: 0 / 331.6 MB, free: 1.078 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001432/0.00702, allocations: 27.94 kB / 331.6 MB, free: 1.051 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.00113/0.00815, allocations: 0.5722 MB / 332.2 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 7.785e-05/0.008228, allocations: 48.72 kB / 332.2 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.008231, allocations: 0 / 332.2 MB, free: 0.7344 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.693e-05/0.008258, allocations: 20.84 kB / 332.2 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001626/0.00842, allocations: 38.91 kB / 332.3 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002653/0.008686, allocations: 215.7 kB / 332.5 MB, free: 444 kB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.613e-05/0.008722, allocations: 75.45 kB / 332.5 MB, free: 348 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.282e-05/0.008755, allocations: 13.28 kB / 332.6 MB, free: 332 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.995e-05/0.008815, allocations: 67.36 kB / 332.6 MB, free: 264 kB / 298.7 MB Notification: Performance of SimCode: time 6.61e-07/0.008815, allocations: 0 / 332.6 MB, free: 264 kB / 298.7 MB Notification: Performance of Templates: time 0.003244/0.01206, allocations: 2.028 MB / 334.7 MB, free: 14.26 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.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.8767016720958054]