Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.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.0008714/0.0008714, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001321/0.002192, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007535/0.0007535, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00117/0.001923, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.076/1.076, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1169/1.193, allocations: 53.66 MB / 243.3 MB, free: 15.58 MB / 250.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.3415/0.3415, allocations: 32.8 MB / 276.8 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04166/0.3832, allocations: 12.53 MB / 289.3 MB, free: 8.68 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.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.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.503e-06/1.503e-06, allocations: 0 / 290.7 MB, free: 7.594 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.804e-05/2.955e-05, allocations: 4.203 kB / 290.7 MB, free: 7.59 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.003431/0.003461, allocations: 1.767 MB / 292.5 MB, free: 6.148 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001622/0.005082, allocations: 0.9961 MB / 293.5 MB, free: 5.402 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.005183, allocations: 0.7188 kB / 293.5 MB, free: 5.402 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003396/0.005523, allocations: 69.56 kB / 293.5 MB, free: 5.359 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003001/0.005823, allocations: 110 kB / 293.6 MB, free: 5.273 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001749/0.005998, allocations: 75.66 kB / 293.7 MB, free: 5.199 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001916/0.00619, allocations: 111.6 kB / 293.8 MB, free: 5.09 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.882e-05/0.006248, allocations: 8.219 kB / 293.8 MB, free: 5.082 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001638/0.006412, allocations: 83.81 kB / 293.9 MB, free: 5 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001186/0.006531, allocations: 39.83 kB / 293.9 MB, free: 4.961 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.006549, allocations: 4 kB / 293.9 MB, free: 4.957 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.479e-05/0.006634, allocations: 35.92 kB / 294 MB, free: 4.922 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.374e-05/0.006688, allocations: 15.94 kB / 294 MB, free: 4.906 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.546e-05/0.006723, allocations: 11.94 kB / 294 MB, free: 4.895 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001847/0.006908, allocations: 91.67 kB / 294.1 MB, free: 4.805 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2e-05/0.006928, allocations: 0 / 294.1 MB, free: 4.805 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.00693, allocations: 0 / 294.1 MB, free: 4.805 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.18e-05/0.006952, allocations: 0 / 294.1 MB, free: 4.805 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005723/0.007524, allocations: 320.7 kB / 294.4 MB, free: 4.469 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.007573, allocations: 12.02 kB / 294.4 MB, free: 4.457 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.011e-05/0.007613, allocations: 4.938 kB / 294.4 MB, free: 4.453 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001993/0.007812, allocations: 158.1 kB / 294.6 MB, free: 4.273 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/0.007832, allocations: 384 / 294.6 MB, free: 4.273 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.749e-06/0.007842, allocations: 384 / 294.6 MB, free: 4.273 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.008005, allocations: 65.75 kB / 294.6 MB, free: 4.199 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.008019, allocations: 3.938 kB / 294.7 MB, free: 4.195 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.393e-05/0.008033, allocations: 8 kB / 294.7 MB, free: 4.188 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.00804, allocations: 0 / 294.7 MB, free: 4.188 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.357e-05/0.008074, allocations: 7.984 kB / 294.7 MB, free: 4.18 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001084/0.008182, allocations: 66.64 kB / 294.7 MB, free: 4.098 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000112/0.008294, allocations: 45.36 kB / 294.8 MB, free: 4.043 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.415e-05/0.008318, allocations: 16.84 kB / 294.8 MB, free: 4.023 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.471e-05/0.008333, allocations: 0 / 294.8 MB, free: 4.023 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001159/0.008449, allocations: 62.22 kB / 294.9 MB, free: 3.949 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.463e-06/0.00845, allocations: 0 / 294.9 MB, free: 3.949 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001516/0.008602, allocations: 61.61 kB / 294.9 MB, free: 3.883 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.082e-05/0.008643, allocations: 55.34 kB / 295 MB, free: 3.816 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.008765, allocations: 177.5 kB / 295.1 MB, free: 3.629 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.008781, allocations: 25.7 kB / 295.2 MB, free: 3.598 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.822e-05/0.008829, allocations: 100.1 kB / 295.3 MB, free: 3.496 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.818e-05/0.008868, allocations: 11.91 kB / 295.3 MB, free: 3.484 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.17e-05/0.008899, allocations: 17.72 kB / 295.3 MB, free: 3.461 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.009015, allocations: 326.8 kB / 295.6 MB, free: 3.133 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.883e-05/0.009034, allocations: 14.81 kB / 295.6 MB, free: 3.117 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.375e-05/0.009058, allocations: 17.72 kB / 295.6 MB, free: 3.094 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.407e-05/0.009102, allocations: 39.59 kB / 295.7 MB, free: 3.047 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.009104, allocations: 3.938 kB / 295.7 MB, free: 3.043 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.932e-05/0.009194, allocations: 60.5 kB / 295.7 MB, free: 2.977 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.009209, allocations: 4 kB / 295.7 MB, free: 2.973 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.009216, allocations: 0 / 295.7 MB, free: 2.973 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.009229, allocations: 4 kB / 295.8 MB, free: 2.969 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.14e-05/0.00931, allocations: 15.88 kB / 295.8 MB, free: 2.953 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.009314, allocations: 4.031 kB / 295.8 MB, free: 2.949 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.03e-05/0.009344, allocations: 4 kB / 295.8 MB, free: 2.945 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.009351, allocations: 7.984 kB / 295.8 MB, free: 2.938 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 (7): * Single equations (assignments): 7 * 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.367e-05/0.009425, allocations: 112.7 kB / 295.9 MB, free: 2.816 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.061e-05/0.009435, allocations: 7.938 kB / 295.9 MB, free: 2.809 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001325/0.009568, allocations: 66.83 kB / 296 MB, free: 2.738 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.009571, allocations: 0 / 296 MB, free: 2.738 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.009574, allocations: 3.938 kB / 296 MB, free: 2.734 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.009579, allocations: 0 / 296 MB, free: 2.734 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001006/0.00968, allocations: 81.86 kB / 296.1 MB, free: 2.637 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.009682, allocations: 8 kB / 296.1 MB, free: 2.629 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.339e-05/0.009706, allocations: 7.938 kB / 296.1 MB, free: 2.621 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.532e-05/0.009721, allocations: 19.83 kB / 296.1 MB, free: 2.602 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.009723, allocations: 0 / 296.1 MB, free: 2.602 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.009728, allocations: 0 / 296.1 MB, free: 2.602 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.009729, allocations: 0 / 296.1 MB, free: 2.602 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.009731, allocations: 3.938 kB / 296.1 MB, free: 2.598 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.81e-05/0.009809, allocations: 86.77 kB / 296.2 MB, free: 2.492 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.547e-05/0.009825, allocations: 3.984 kB / 296.2 MB, free: 2.488 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.26e-05/0.009847, allocations: 4.188 kB / 296.2 MB, free: 2.484 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.725e-05/0.009875, allocations: 0 / 296.2 MB, free: 2.484 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/0.009886, allocations: 8 kB / 296.2 MB, free: 2.477 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.271e-05/0.009929, allocations: 55.58 kB / 296.2 MB, free: 2.418 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009929, allocations: 0 / 296.2 MB, free: 2.418 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001271/0.01006, allocations: 23.98 kB / 296.3 MB, free: 2.395 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001333/0.01139, allocations: 0.5467 MB / 296.8 MB, free: 2.152 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001113/0.0115, allocations: 28.86 kB / 296.8 MB, free: 2.121 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.263e-05/0.01151, allocations: 7.984 kB / 296.8 MB, free: 2.113 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.201e-05/0.01154, allocations: 24.86 kB / 296.9 MB, free: 2.086 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001775/0.01172, allocations: 43.14 kB / 296.9 MB, free: 2.047 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006162/0.01234, allocations: 194.8 kB / 297.1 MB, free: 1.828 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.594e-05/0.01237, allocations: 63.34 kB / 297.2 MB, free: 1.746 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.122e-05/0.01241, allocations: 16.47 kB / 297.2 MB, free: 1.73 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.133e-05/0.01247, allocations: 71.31 kB / 297.3 MB, free: 1.66 MB / 282.7 MB Notification: Performance of SimCode: time 8.72e-07/0.01247, allocations: 0 / 297.3 MB, free: 1.66 MB / 282.7 MB Notification: Performance of Templates: time 0.003748/0.01622, allocations: 1.794 MB / 299 MB, free: 15.9 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.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.2272983994334936]