Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.0009895/0.0009895, 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.001038/0.001038, allocations: 169.9 kB / 24.91 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 1.084/1.084, allocations: 177.1 MB / 205.3 MB, free: 5.105 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.2984/0.2984, allocations: 32.81 MB / 294.6 MB, free: 1.191 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.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.123e-06/1.123e-06, allocations: 0 / 323.4 MB, free: 9.598 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.842e-05/1.955e-05, allocations: 3.672 kB / 323.4 MB, free: 9.594 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.00236/0.002379, allocations: 1.8 MB / 325.2 MB, free: 7.781 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001325/0.003704, allocations: 1.009 MB / 326.2 MB, free: 6.766 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.778e-05/0.003782, allocations: 0 / 326.2 MB, free: 6.766 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003176/0.004099, allocations: 59.61 kB / 326.2 MB, free: 6.707 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003267/0.004426, allocations: 99.55 kB / 326.3 MB, free: 6.609 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001999/0.004626, allocations: 75.61 kB / 326.4 MB, free: 6.535 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001524/0.004778, allocations: 111.6 kB / 326.5 MB, free: 6.426 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.119e-05/0.00487, allocations: 5.375 kB / 326.5 MB, free: 6.422 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.03e-05/0.00496, allocations: 59.77 kB / 326.6 MB, free: 6.363 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.995e-05/0.00503, allocations: 27.91 kB / 326.6 MB, free: 6.336 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.512e-05/0.005045, allocations: 4 kB / 326.6 MB, free: 6.332 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.122e-05/0.005126, allocations: 43.92 kB / 326.6 MB, free: 6.289 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.932e-05/0.005175, allocations: 27.92 kB / 326.7 MB, free: 6.262 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.749e-05/0.005213, allocations: 27.84 kB / 326.7 MB, free: 6.234 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001732/0.005386, allocations: 107.6 kB / 326.8 MB, free: 6.129 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.523e-06/0.005388, allocations: 4 kB / 326.8 MB, free: 6.125 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.005389, allocations: 4 kB / 326.8 MB, free: 6.121 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.968e-06/0.005393, allocations: 0 / 326.8 MB, free: 6.121 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.0003718/0.005764, allocations: 349.1 kB / 327.1 MB, free: 5.758 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.005806, allocations: 12.03 kB / 327.2 MB, free: 5.746 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.2e-05/0.005838, allocations: 8.922 kB / 327.2 MB, free: 5.738 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/0.005993, allocations: 158.4 kB / 327.3 MB, free: 5.555 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.006009, allocations: 4.375 kB / 327.3 MB, free: 5.551 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/0.006027, allocations: 4.375 kB / 327.3 MB, free: 5.547 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001002/0.006127, allocations: 61.77 kB / 327.4 MB, free: 5.477 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.006139, allocations: 11.92 kB / 327.4 MB, free: 5.465 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.835e-06/0.006146, allocations: 4 kB / 327.4 MB, free: 5.461 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.778e-06/0.006151, allocations: 4 kB / 327.4 MB, free: 5.457 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.396e-05/0.006175, allocations: 11.92 kB / 327.4 MB, free: 5.445 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002265/0.006402, allocations: 158 kB / 327.6 MB, free: 5.273 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002231/0.006625, allocations: 93.33 kB / 327.7 MB, free: 5.172 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.427e-05/0.006649, allocations: 12.86 kB / 327.7 MB, free: 5.156 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.006662, allocations: 0 / 327.7 MB, free: 5.156 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001152/0.006777, allocations: 74.09 kB / 327.8 MB, free: 5.07 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.194e-06/0.006779, allocations: 0 / 327.8 MB, free: 5.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003743/0.007154, allocations: 117.5 kB / 327.9 MB, free: 4.949 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.007199, allocations: 51.41 kB / 327.9 MB, free: 4.887 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.007355, allocations: 221 kB / 328.1 MB, free: 4.656 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.007376, allocations: 29.7 kB / 328.2 MB, free: 4.621 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.201e-05/0.007418, allocations: 96.09 kB / 328.3 MB, free: 4.523 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.231e-05/0.007451, allocations: 27.78 kB / 328.3 MB, free: 4.496 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.53e-05/0.007486, allocations: 25.7 kB / 328.3 MB, free: 4.465 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.975e-05/0.007586, allocations: 326.8 kB / 328.6 MB, free: 4.137 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.864e-05/0.007604, allocations: 14.83 kB / 328.6 MB, free: 4.121 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.851e-05/0.007633, allocations: 25.69 kB / 328.7 MB, free: 4.09 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.176e-05/0.007685, allocations: 40.47 kB / 328.7 MB, free: 4.043 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.007686, allocations: 0 / 328.7 MB, free: 4.043 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001004/0.007786, allocations: 76.41 kB / 328.8 MB, free: 3.961 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.0078, allocations: 4 kB / 328.8 MB, free: 3.957 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.007805, allocations: 4 kB / 328.8 MB, free: 3.953 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.007816, allocations: 3.938 kB / 328.8 MB, free: 3.949 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.318e-05/0.007879, allocations: 16 kB / 328.8 MB, free: 3.934 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.625e-06/0.007882, allocations: 4.031 kB / 328.8 MB, free: 3.93 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.894e-05/0.007911, allocations: 11.98 kB / 328.8 MB, free: 3.918 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.007916, allocations: 0 / 328.8 MB, free: 3.918 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.465e-05/0.00798, allocations: 116.7 kB / 328.9 MB, free: 3.793 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.586e-05/0.007996, allocations: 15.92 kB / 329 MB, free: 3.777 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001011/0.008097, allocations: 79.08 kB / 329 MB, free: 3.691 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.0081, allocations: 0 / 329 MB, free: 3.691 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.008102, allocations: 4.359 kB / 329 MB, free: 3.688 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.008106, allocations: 3.984 kB / 329 MB, free: 3.684 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002161/0.008323, allocations: 299.4 kB / 329.3 MB, free: 3.363 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.008325, allocations: 8 kB / 329.3 MB, free: 3.355 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.601e-05/0.008351, allocations: 15.98 kB / 329.4 MB, free: 3.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.008353, allocations: 0 / 329.4 MB, free: 3.34 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.441e-06/0.008358, allocations: 0 / 329.4 MB, free: 3.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.008359, allocations: 4 kB / 329.4 MB, free: 3.336 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.00836, allocations: 0 / 329.4 MB, free: 3.336 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.561e-05/0.008455, allocations: 211 kB / 329.6 MB, free: 3.109 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.255e-05/0.008468, allocations: 19.89 kB / 329.6 MB, free: 3.09 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.008484, allocations: 4 kB / 329.6 MB, free: 3.086 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.913e-05/0.008523, allocations: 4.031 kB / 329.6 MB, free: 3.082 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.477e-05/0.008548, allocations: 7.984 kB / 329.6 MB, free: 3.074 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.008558, allocations: 11.88 kB / 329.6 MB, free: 3.062 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.117e-05/0.008619, allocations: 77 kB / 329.7 MB, free: 2.984 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008619, allocations: 0 / 329.7 MB, free: 2.984 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000148/0.008767, allocations: 27.92 kB / 329.7 MB, free: 2.957 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.001285/0.01005, allocations: 0.5767 MB / 330.3 MB, free: 2.688 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001179/0.01017, allocations: 44.77 kB / 330.3 MB, free: 2.641 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.792e-06/0.01018, allocations: 4 kB / 330.3 MB, free: 2.637 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.465e-05/0.01021, allocations: 20.84 kB / 330.4 MB, free: 2.613 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002079/0.01042, allocations: 35.7 kB / 330.4 MB, free: 2.578 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003822/0.0108, allocations: 268.3 kB / 330.7 MB, free: 2.285 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.192e-05/0.01084, allocations: 75.33 kB / 330.7 MB, free: 2.191 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.529e-05/0.01088, allocations: 17.28 kB / 330.7 MB, free: 2.176 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.401e-05/0.01094, allocations: 67.36 kB / 330.8 MB, free: 2.109 MB / 298.7 MB Notification: Performance of SimCode: time 8.22e-07/0.01094, allocations: 0 / 330.8 MB, free: 2.109 MB / 298.7 MB Notification: Performance of Templates: time 0.003651/0.0146, allocations: 2.047 MB / 332.9 MB, free: 96 kB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.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.0076573751866817]