Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007493/0.0007493, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001481/0.00223, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000677/0.000677, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001002/0.001679, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.977/0.977, allocations: 173.4 MB / 186 MB, free: 7.531 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1922/1.169, allocations: 52.48 MB / 238.5 MB, free: 7.633 MB / 234.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.1356/0.1356, allocations: 32.81 MB / 272 MB, free: 6.293 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02372/0.1593, allocations: 12.53 MB / 284.5 MB, free: 9.715 MB / 282.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25") translateModel(ModelicaTest.Tables.CombiTimeTable.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 285.9 MB, free: 8.324 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.546e-06/9.828e-06, allocations: 9.547 kB / 285.9 MB, free: 8.316 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test25): time 0.001883/0.001893, allocations: 1.792 MB / 287.7 MB, free: 6.512 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009466/0.00284, allocations: 0.8765 MB / 288.6 MB, free: 5.629 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.049e-05/0.00288, allocations: 0 / 288.6 MB, free: 5.629 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001163/0.002996, allocations: 43.75 kB / 288.7 MB, free: 5.586 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 9.969e-05/0.003096, allocations: 59.64 kB / 288.7 MB, free: 5.527 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001675/0.003264, allocations: 115.5 kB / 288.8 MB, free: 5.414 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.981e-05/0.003363, allocations: 87.72 kB / 288.9 MB, free: 5.328 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.75e-05/0.003411, allocations: 20.09 kB / 288.9 MB, free: 5.305 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.572e-05/0.003497, allocations: 71.83 kB / 289 MB, free: 5.234 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.639e-05/0.003543, allocations: 19.91 kB / 289 MB, free: 5.215 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.144e-05/0.003554, allocations: 4 kB / 289 MB, free: 5.211 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.164e-05/0.003616, allocations: 47.92 kB / 289.1 MB, free: 5.164 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.238e-05/0.003648, allocations: 23.88 kB / 289.1 MB, free: 5.141 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.266e-05/0.003671, allocations: 15.94 kB / 289.1 MB, free: 5.125 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001127/0.003784, allocations: 95.59 kB / 289.2 MB, free: 5.031 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.00379, allocations: 0 / 289.2 MB, free: 5.031 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.51e-07/0.00379, allocations: 0 / 289.2 MB, free: 5.031 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.003795, allocations: 0 / 289.2 MB, free: 5.031 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0002765/0.004072, allocations: 331.9 kB / 289.5 MB, free: 4.684 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.223e-05/0.004094, allocations: 12.03 kB / 289.5 MB, free: 4.672 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.989e-05/0.004114, allocations: 8.922 kB / 289.5 MB, free: 4.664 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001071/0.004221, allocations: 148.2 kB / 289.7 MB, free: 4.496 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.004234, allocations: 8.312 kB / 289.7 MB, free: 4.488 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.004246, allocations: 4.312 kB / 289.7 MB, free: 4.484 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.043e-05/0.004316, allocations: 65.77 kB / 289.8 MB, free: 4.41 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.731e-06/0.004322, allocations: 3.938 kB / 289.8 MB, free: 4.406 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.769e-06/0.004327, allocations: 0 / 289.8 MB, free: 4.406 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.906e-06/0.004329, allocations: 0 / 289.8 MB, free: 4.406 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.056e-05/0.00435, allocations: 11.98 kB / 289.8 MB, free: 4.395 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001416/0.004492, allocations: 162 kB / 289.9 MB, free: 4.219 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.398e-05/0.004566, allocations: 97.2 kB / 290 MB, free: 4.113 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.612e-05/0.004582, allocations: 12.86 kB / 290.1 MB, free: 4.098 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.032e-06/0.004588, allocations: 0 / 290.1 MB, free: 4.098 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.73e-05/0.004655, allocations: 70.16 kB / 290.1 MB, free: 4.016 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.763e-06/0.004657, allocations: 3.984 kB / 290.1 MB, free: 4.012 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002082/0.004865, allocations: 113.5 kB / 290.2 MB, free: 3.895 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.082e-05/0.004886, allocations: 51.41 kB / 290.3 MB, free: 3.832 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.786e-05/0.004974, allocations: 173 kB / 290.5 MB, free: 3.648 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/0.004986, allocations: 29.7 kB / 290.5 MB, free: 3.613 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.81e-05/0.005014, allocations: 100.1 kB / 290.6 MB, free: 3.512 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.073e-05/0.005035, allocations: 31.77 kB / 290.6 MB, free: 3.48 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.474e-05/0.00506, allocations: 21.72 kB / 290.6 MB, free: 3.453 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.501e-05/0.005135, allocations: 322.8 kB / 290.9 MB, free: 3.129 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.271e-05/0.005148, allocations: 10.83 kB / 291 MB, free: 3.117 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.959e-05/0.005167, allocations: 29.64 kB / 291 MB, free: 3.082 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.95e-05/0.005207, allocations: 36.52 kB / 291 MB, free: 3.039 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.005207, allocations: 0 / 291 MB, free: 3.039 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.224e-05/0.00527, allocations: 80.44 kB / 291.1 MB, free: 2.953 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.027e-06/0.005279, allocations: 12.03 kB / 291.1 MB, free: 2.941 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.204e-06/0.005281, allocations: 0 / 291.1 MB, free: 2.941 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.733e-06/0.005288, allocations: 3.984 kB / 291.1 MB, free: 2.938 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.215e-05/0.00534, allocations: 16 kB / 291.1 MB, free: 2.922 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.744e-06/0.005341, allocations: 0 / 291.1 MB, free: 2.922 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.055e-05/0.005362, allocations: 0 / 291.1 MB, free: 2.922 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.005368, allocations: 7.984 kB / 291.1 MB, free: 2.914 MB / 282.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.16e-05/0.005419, allocations: 120.6 kB / 291.3 MB, free: 2.785 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.149e-05/0.005431, allocations: 7.938 kB / 291.3 MB, free: 2.777 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.118e-05/0.005512, allocations: 79.06 kB / 291.3 MB, free: 2.695 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.005514, allocations: 8 kB / 291.4 MB, free: 2.688 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.92e-07/0.005515, allocations: 3.938 kB / 291.4 MB, free: 2.684 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.005517, allocations: 0 / 291.4 MB, free: 2.684 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001754/0.005693, allocations: 295.4 kB / 291.6 MB, free: 2.367 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.005695, allocations: 4 kB / 291.6 MB, free: 2.363 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.214e-05/0.005717, allocations: 11.98 kB / 291.7 MB, free: 2.352 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.083e-05/0.005728, allocations: 11.91 kB / 291.7 MB, free: 2.34 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.005729, allocations: 0 / 291.7 MB, free: 2.34 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.839e-06/0.005734, allocations: 4 kB / 291.7 MB, free: 2.336 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.005735, allocations: 0 / 291.7 MB, free: 2.336 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.005735, allocations: 4.031 kB / 291.7 MB, free: 2.332 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.883e-05/0.005824, allocations: 223.3 kB / 291.9 MB, free: 2.094 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.296e-05/0.005837, allocations: 4 kB / 291.9 MB, free: 2.09 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.457e-05/0.005872, allocations: 4 kB / 291.9 MB, free: 2.086 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.809e-05/0.00589, allocations: 7.984 kB / 291.9 MB, free: 2.078 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/0.005899, allocations: 8 kB / 291.9 MB, free: 2.07 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.687e-05/0.005936, allocations: 48.34 kB / 292 MB, free: 2.02 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005936, allocations: 0 / 292 MB, free: 2.02 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001293/0.006066, allocations: 23.94 kB / 292 MB, free: 1.996 MB / 282.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.001272/0.007338, allocations: 0.6377 MB / 292.6 MB, free: 1.676 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.993e-05/0.007407, allocations: 48.7 kB / 292.7 MB, free: 1.625 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.007412, allocations: 4 kB / 292.7 MB, free: 1.621 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.046e-05/0.007443, allocations: 28.94 kB / 292.7 MB, free: 1.59 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001903/0.007633, allocations: 186.4 kB / 292.9 MB, free: 1.379 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003372/0.00797, allocations: 227.1 kB / 293.1 MB, free: 1.125 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.358e-05/0.008004, allocations: 67.33 kB / 293.2 MB, free: 1.039 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 2.811e-05/0.008032, allocations: 12.5 kB / 293.2 MB, free: 1.027 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.733e-05/0.008099, allocations: 71.45 kB / 293.3 MB, free: 0.957 MB / 282.7 MB Notification: Performance of SimCode: time 3.9e-07/0.0081, allocations: 4 kB / 293.3 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of Templates: time 0.003021/0.01112, allocations: 2.027 MB / 295.3 MB, free: 14.97 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test25/Test25.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.028495056554675]