Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.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.001294/0.001294, allocations: 80.92 kB / 21.49 MB, free: 2.996 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.001013/0.001013, allocations: 173.9 kB / 24.92 MB, free: 8.723 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.9587/0.9587, allocations: 177.1 MB / 205.3 MB, free: 5.094 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.2545/0.2545, allocations: 32.8 MB / 294.6 MB, free: 1.117 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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 323.4 MB, free: 9.559 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.488e-05/2.656e-05, allocations: 5.359 kB / 323.4 MB, free: 9.555 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.00296/0.002986, allocations: 1.791 MB / 325.2 MB, free: 7.75 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001233/0.00422, allocations: 1.001 MB / 326.2 MB, free: 6.742 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.152e-05/0.004291, allocations: 11.94 kB / 326.2 MB, free: 6.73 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002707/0.004562, allocations: 35.77 kB / 326.2 MB, free: 6.695 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000221/0.004783, allocations: 91.53 kB / 326.3 MB, free: 6.605 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001688/0.004952, allocations: 83.59 kB / 326.4 MB, free: 6.523 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001457/0.005097, allocations: 107.6 kB / 326.5 MB, free: 6.418 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.202e-05/0.005179, allocations: 9.359 kB / 326.5 MB, free: 6.41 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.082e-05/0.00526, allocations: 51.83 kB / 326.5 MB, free: 6.359 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.225e-05/0.005332, allocations: 23.92 kB / 326.6 MB, free: 6.336 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/0.005347, allocations: 4 kB / 326.6 MB, free: 6.332 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.921e-05/0.005426, allocations: 47.91 kB / 326.6 MB, free: 6.285 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.192e-05/0.005468, allocations: 27.92 kB / 326.6 MB, free: 6.258 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.117e-05/0.005499, allocations: 19.92 kB / 326.7 MB, free: 6.238 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001588/0.005658, allocations: 95.59 kB / 326.8 MB, free: 6.145 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.00566, allocations: 0 / 326.8 MB, free: 6.145 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.51e-07/0.005661, allocations: 0 / 326.8 MB, free: 6.145 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.506e-06/0.005664, allocations: 0 / 326.8 MB, free: 6.145 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.0003612/0.006026, allocations: 317.4 kB / 327.1 MB, free: 5.812 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.865e-05/0.006054, allocations: 8.031 kB / 327.1 MB, free: 5.805 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.612e-05/0.00608, allocations: 4.938 kB / 327.1 MB, free: 5.801 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/0.006224, allocations: 152.8 kB / 327.2 MB, free: 5.629 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.006238, allocations: 8.312 kB / 327.2 MB, free: 5.621 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.672e-05/0.006255, allocations: 8.359 kB / 327.2 MB, free: 5.613 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.419e-05/0.006349, allocations: 61.77 kB / 327.3 MB, free: 5.543 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.006358, allocations: 3.938 kB / 327.3 MB, free: 5.539 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.292e-06/0.006365, allocations: 0 / 327.3 MB, free: 5.539 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.006368, allocations: 0 / 327.3 MB, free: 5.539 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.251e-05/0.006391, allocations: 8 kB / 327.3 MB, free: 5.531 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001785/0.006569, allocations: 158 kB / 327.5 MB, free: 5.359 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.399e-05/0.006653, allocations: 97.28 kB / 327.6 MB, free: 5.254 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.969e-05/0.006673, allocations: 20.84 kB / 327.6 MB, free: 5.23 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.018e-05/0.006683, allocations: 0 / 327.6 MB, free: 5.23 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.634e-05/0.00677, allocations: 66.16 kB / 327.6 MB, free: 5.152 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.006771, allocations: 0 / 327.6 MB, free: 5.152 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002518/0.007023, allocations: 121.5 kB / 327.8 MB, free: 5.027 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.532e-05/0.007048, allocations: 51.41 kB / 327.8 MB, free: 4.965 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.437e-05/0.007132, allocations: 154.9 kB / 328 MB, free: 4.801 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.007147, allocations: 37.69 kB / 328 MB, free: 4.758 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.628e-05/0.007174, allocations: 88.12 kB / 328.1 MB, free: 4.668 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.432e-05/0.007198, allocations: 23.78 kB / 328.1 MB, free: 4.645 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-05/0.007226, allocations: 25.7 kB / 328.1 MB, free: 4.613 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.447e-05/0.0073, allocations: 322.8 kB / 328.5 MB, free: 4.289 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.643e-05/0.007317, allocations: 10.83 kB / 328.5 MB, free: 4.277 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.429e-05/0.007341, allocations: 29.62 kB / 328.5 MB, free: 4.242 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.008e-05/0.007381, allocations: 48.45 kB / 328.5 MB, free: 4.188 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.007382, allocations: 0 / 328.5 MB, free: 4.188 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.331e-05/0.007455, allocations: 72.38 kB / 328.6 MB, free: 4.109 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.007466, allocations: 4 kB / 328.6 MB, free: 4.105 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.007469, allocations: 4.031 kB / 328.6 MB, free: 4.102 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.00748, allocations: 4 kB / 328.6 MB, free: 4.098 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.905e-05/0.007539, allocations: 15.98 kB / 328.6 MB, free: 4.082 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.404e-06/0.007541, allocations: 0 / 328.6 MB, free: 4.082 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.564e-05/0.007567, allocations: 8 kB / 328.6 MB, free: 4.074 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.007574, allocations: 7.984 kB / 328.7 MB, free: 4.066 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 6.257e-05/0.007637, allocations: 120.6 kB / 328.8 MB, free: 3.938 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.217e-05/0.007649, allocations: 11.94 kB / 328.8 MB, free: 3.926 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001019/0.007751, allocations: 70.44 kB / 328.9 MB, free: 3.852 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.007753, allocations: 7.938 kB / 328.9 MB, free: 3.844 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-06/0.007754, allocations: 4 kB / 328.9 MB, free: 3.84 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.007757, allocations: 0 / 328.9 MB, free: 3.84 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002014/0.007958, allocations: 291.4 kB / 329.1 MB, free: 3.527 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.007962, allocations: 4 kB / 329.2 MB, free: 3.523 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.602e-05/0.007988, allocations: 11.98 kB / 329.2 MB, free: 3.512 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.007991, allocations: 384 / 329.2 MB, free: 3.512 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.4e-06/0.007996, allocations: 0 / 329.2 MB, free: 3.512 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.008, allocations: 8 kB / 329.2 MB, free: 3.504 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.008001, allocations: 0 / 329.2 MB, free: 3.504 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.746e-05/0.008099, allocations: 219 kB / 329.4 MB, free: 3.27 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.638e-06/0.008108, allocations: 11.98 kB / 329.4 MB, free: 3.258 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.008123, allocations: 3.984 kB / 329.4 MB, free: 3.254 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.892e-05/0.008162, allocations: 4 kB / 329.4 MB, free: 3.25 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.807e-05/0.00819, allocations: 11.98 kB / 329.4 MB, free: 3.238 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.008201, allocations: 0 / 329.4 MB, free: 3.238 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.624e-05/0.008237, allocations: 41.19 kB / 329.5 MB, free: 3.195 MB / 298.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.008237, allocations: 0 / 329.5 MB, free: 3.195 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001443/0.008381, allocations: 27.92 kB / 329.5 MB, free: 3.168 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.001281/0.009662, allocations: 0.5869 MB / 330.1 MB, free: 2.891 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001048/0.009767, allocations: 40.77 kB / 330.1 MB, free: 2.848 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.009771, allocations: 0 / 330.1 MB, free: 2.848 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.176e-05/0.009802, allocations: 32.78 kB / 330.1 MB, free: 2.812 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001889/0.009991, allocations: 32.03 kB / 330.2 MB, free: 2.781 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003423/0.01033, allocations: 216.1 kB / 330.4 MB, free: 2.535 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.316e-05/0.01038, allocations: 63.34 kB / 330.4 MB, free: 2.453 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.721e-05/0.01041, allocations: 17.27 kB / 330.5 MB, free: 2.438 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.618e-05/0.01048, allocations: 67.36 kB / 330.5 MB, free: 2.371 MB / 298.7 MB Notification: Performance of SimCode: time 7.71e-07/0.01048, allocations: 0 / 330.5 MB, free: 2.371 MB / 298.7 MB Notification: Performance of Templates: time 0.003711/0.01419, allocations: 2.011 MB / 332.5 MB, free: 400 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.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.960873778909445]