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.001026/0.001026, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001119/0.001119, allocations: 167.3 kB / 24.99 MB, free: 8.746 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.9987/0.9987, allocations: 177.1 MB / 205.3 MB, free: 5.641 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.3017/0.3017, allocations: 32.8 MB / 294.6 MB, free: 1.289 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.853e-06/1.853e-06, allocations: 0 / 376.1 MB, free: 4.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.602e-05/2.787e-05, allocations: 2.312 kB / 376.1 MB, free: 4.906 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.002538/0.002566, allocations: 1.765 MB / 377.8 MB, free: 3.129 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001261/0.003826, allocations: 1.009 MB / 378.9 MB, free: 2.113 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.982e-05/0.003916, allocations: 0 / 378.9 MB, free: 2.113 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003386/0.004255, allocations: 59.67 kB / 378.9 MB, free: 2.055 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003025/0.004557, allocations: 103.5 kB / 379 MB, free: 1.953 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001922/0.004749, allocations: 79.61 kB / 379.1 MB, free: 1.875 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001663/0.004916, allocations: 103.7 kB / 379.2 MB, free: 1.773 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.878e-05/0.005015, allocations: 7.984 kB / 379.2 MB, free: 1.766 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.726e-05/0.005102, allocations: 55.78 kB / 379.3 MB, free: 1.711 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.274e-05/0.005175, allocations: 31.89 kB / 379.3 MB, free: 1.68 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.807e-05/0.005193, allocations: 4 kB / 379.3 MB, free: 1.676 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.665e-05/0.005279, allocations: 47.92 kB / 379.3 MB, free: 1.629 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.125e-05/0.005341, allocations: 35.84 kB / 379.4 MB, free: 1.594 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.01e-05/0.005381, allocations: 15.94 kB / 379.4 MB, free: 1.578 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001991/0.00558, allocations: 111.6 kB / 379.5 MB, free: 1.469 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.005583, allocations: 0 / 379.5 MB, free: 1.469 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.005584, allocations: 0 / 379.5 MB, free: 1.469 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.005589, allocations: 0 / 379.5 MB, free: 1.469 MB / 346.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.0005169/0.006106, allocations: 479.6 kB / 380 MB, free: 0.9648 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.006145, allocations: 11.97 kB / 380 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.82e-05/0.006203, allocations: 16.84 kB / 380 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002251/0.006428, allocations: 177.2 kB / 380.2 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.006449, allocations: 4.375 kB / 380.2 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.969e-05/0.006468, allocations: 4.375 kB / 380.2 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.006609, allocations: 62.94 kB / 380.2 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.00662, allocations: 3.938 kB / 380.2 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.00663, allocations: 0 / 380.2 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.006637, allocations: 0 / 380.2 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.808e-05/0.006675, allocations: 15.92 kB / 380.3 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003292/0.007004, allocations: 295.8 kB / 380.5 MB, free: 320 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.007118, allocations: 51.17 kB / 380.6 MB, free: 256 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.293e-05/0.007151, allocations: 27.61 kB / 380.6 MB, free: 224 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.403e-05/0.007165, allocations: 0 / 380.6 MB, free: 224 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001155/0.00728, allocations: 76.97 kB / 380.7 MB, free: 132 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.007282, allocations: 0 / 380.7 MB, free: 132 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004524/0.007734, allocations: 161.5 kB / 380.9 MB, free: 15.96 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.815e-05/0.007772, allocations: 51.41 kB / 380.9 MB, free: 15.9 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001891/0.007961, allocations: 274.7 kB / 381.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.007977, allocations: 33.7 kB / 381.2 MB, free: 15.58 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.206e-05/0.008049, allocations: 162.9 kB / 381.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.115e-05/0.008081, allocations: 31.78 kB / 381.4 MB, free: 15.38 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.655e-05/0.008117, allocations: 27.38 kB / 381.4 MB, free: 15.35 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.008249, allocations: 0.504 MB / 381.9 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.264e-05/0.008282, allocations: 8.188 kB / 381.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.069e-05/0.008322, allocations: 39.36 kB / 382 MB, free: 14.78 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.392e-05/0.008386, allocations: 55.23 kB / 382 MB, free: 14.71 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.008389, allocations: 4 kB / 382 MB, free: 14.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001235/0.008512, allocations: 93.52 kB / 382.1 MB, free: 14.61 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.008527, allocations: 4 kB / 382.1 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.008533, allocations: 4.031 kB / 382.1 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.008548, allocations: 4 kB / 382.1 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.542e-05/0.008634, allocations: 19.98 kB / 382.2 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.00864, allocations: 0 / 382.2 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.263e-05/0.008672, allocations: 4 kB / 382.2 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.008678, allocations: 3.938 kB / 382.2 MB, free: 14.57 MB / 362.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 8.3e-05/0.008761, allocations: 164.5 kB / 382.3 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.881e-05/0.00878, allocations: 15.91 kB / 382.3 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001646/0.008944, allocations: 115.2 kB / 382.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.008947, allocations: 4 kB / 382.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.008951, allocations: 4 kB / 382.5 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/0.008955, allocations: 3.984 kB / 382.5 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003107/0.009266, allocations: 405 kB / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.009268, allocations: 0 / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.016e-05/0.009298, allocations: 15.92 kB / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.009301, allocations: 0 / 382.9 MB, free: 13.8 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.009311, allocations: 8 kB / 382.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.009314, allocations: 0 / 382.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.009315, allocations: 0 / 382.9 MB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000145/0.00946, allocations: 267.4 kB / 383.1 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.324e-05/0.009473, allocations: 11.91 kB / 383.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.898e-05/0.009492, allocations: 0 / 383.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.668e-05/0.009539, allocations: 11.98 kB / 383.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.301e-05/0.009572, allocations: 4 kB / 383.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/0.009585, allocations: 3.984 kB / 383.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.995e-05/0.009685, allocations: 200.5 kB / 383.4 MB, free: 13.28 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009685, allocations: 0 / 383.4 MB, free: 13.28 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001801/0.009865, allocations: 23.94 kB / 383.4 MB, free: 13.26 MB / 362.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.0009797/0.01084, allocations: 442.9 kB / 383.8 MB, free: 12.98 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001306/0.01098, allocations: 55.59 kB / 383.9 MB, free: 12.92 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01098, allocations: 0 / 383.9 MB, free: 12.92 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.475e-05/0.01102, allocations: 35.61 kB / 383.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000258/0.01128, allocations: 31.75 kB / 383.9 MB, free: 12.85 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004191/0.0117, allocations: 258.5 kB / 384.2 MB, free: 12.57 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.624e-05/0.01174, allocations: 75.27 kB / 384.3 MB, free: 12.47 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.921e-05/0.01178, allocations: 21.39 kB / 384.3 MB, free: 12.45 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.534e-05/0.01182, allocations: 24.48 kB / 384.3 MB, free: 12.43 MB / 362.7 MB Notification: Performance of SimCode: time 1.002e-06/0.01182, allocations: 0 / 384.3 MB, free: 12.43 MB / 362.7 MB Notification: Performance of Templates: time 0.00382/0.01564, allocations: 1.89 MB / 386.2 MB, free: 10.57 MB / 362.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 -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.3313988281879574]