Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.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.00152/0.00152, allocations: 85.28 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001563/0.001563, allocations: 168.8 kB / 23.95 MB, free: 4.172 MB / 14.72 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.498/1.498, allocations: 177.1 MB / 204.3 MB, free: 9.195 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2291/0.2291, allocations: 34.28 MB / 294.9 MB, free: 14.6 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.184e-06/2.184e-06, allocations: 0 / 442.8 MB, free: 5.344 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.585e-05/3.803e-05, allocations: 2.281 kB / 442.8 MB, free: 5.34 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.004911/0.004949, allocations: 1.727 MB / 444.5 MB, free: 3.598 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004542/0.009491, allocations: 1.664 MB / 446.2 MB, free: 1.926 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001152/0.009606, allocations: 0 / 446.2 MB, free: 1.926 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004302/0.01004, allocations: 47.7 kB / 446.2 MB, free: 1.879 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005933/0.01063, allocations: 99.47 kB / 446.3 MB, free: 1.781 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003642/0.01099, allocations: 75.61 kB / 446.4 MB, free: 1.707 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003016/0.0113, allocations: 119.7 kB / 446.5 MB, free: 1.59 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001232/0.01142, allocations: 4 kB / 446.5 MB, free: 1.586 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001975/0.01162, allocations: 67.75 kB / 446.6 MB, free: 1.52 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001901/0.01181, allocations: 35.89 kB / 446.6 MB, free: 1.484 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.586e-05/0.01184, allocations: 4 kB / 446.6 MB, free: 1.48 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003263/0.01217, allocations: 107.8 kB / 446.7 MB, free: 1.375 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.273e-05/0.01225, allocations: 23.86 kB / 446.7 MB, free: 1.352 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.074e-05/0.01233, allocations: 31.91 kB / 446.8 MB, free: 1.32 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005235/0.01286, allocations: 183.4 kB / 446.9 MB, free: 1.141 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.01286, allocations: 0 / 446.9 MB, free: 1.141 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.01286, allocations: 0 / 446.9 MB, free: 1.141 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.265e-05/0.01287, allocations: 0 / 446.9 MB, free: 1.141 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.001092/0.01397, allocations: 369.3 kB / 447.3 MB, free: 0.75 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/0.01402, allocations: 8.031 kB / 447.3 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.558e-05/0.0141, allocations: 8.891 kB / 447.3 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003936/0.0145, allocations: 160.5 kB / 447.5 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.862e-05/0.01452, allocations: 4.375 kB / 447.5 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.981e-05/0.01456, allocations: 12.31 kB / 447.5 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000342/0.01491, allocations: 105.6 kB / 447.6 MB, free: 428 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/0.01492, allocations: 3.938 kB / 447.6 MB, free: 424 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.01e-05/0.01494, allocations: 4 kB / 447.6 MB, free: 420 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.01495, allocations: 0 / 447.6 MB, free: 420 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001952/0.01515, allocations: 31.97 kB / 447.6 MB, free: 388 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006322/0.01578, allocations: 244.5 kB / 447.9 MB, free: 112 kB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004065/0.01618, allocations: 78.59 kB / 447.9 MB, free: 24 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2322/0.2484, allocations: 32.59 kB / 448 MB, free: 19.45 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.823e-05/0.2484, allocations: 0 / 448 MB, free: 19.45 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002914/0.2487, allocations: 69 kB / 448 MB, free: 19.4 MB / 366.1 MB Notification: Performance of pre-optimization done (n=7): time 2.304e-06/0.2487, allocations: 3.75 kB / 448 MB, free: 19.4 MB / 366.1 MB Notification: Performance of matching and sorting (n=9): time 0.000841/0.2495, allocations: 205.9 kB / 448.2 MB, free: 19.37 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/0.2496, allocations: 78.97 kB / 448.3 MB, free: 19.27 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002048/0.2498, allocations: 179 kB / 448.5 MB, free: 19.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.2498, allocations: 29.8 kB / 448.5 MB, free: 19.14 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.862e-05/0.2498, allocations: 101.7 kB / 448.6 MB, free: 19.06 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.597e-05/0.2499, allocations: 35.39 kB / 448.7 MB, free: 19.05 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.411e-05/0.2499, allocations: 29.64 kB / 448.7 MB, free: 19.03 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.039e-05/0.25, allocations: 324.6 kB / 449 MB, free: 18.72 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.944e-05/0.2501, allocations: 28.16 kB / 449 MB, free: 18.72 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.661e-05/0.2502, allocations: 75.36 kB / 449.1 MB, free: 18.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.2503, allocations: 79 kB / 449.2 MB, free: 18.65 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.2503, allocations: 0 / 449.2 MB, free: 18.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002062/0.2505, allocations: 117.7 kB / 449.3 MB, free: 18.61 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.2505, allocations: 6.547 kB / 449.3 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.2505, allocations: 0 / 449.3 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.2505, allocations: 1.219 kB / 449.3 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.2507, allocations: 18.28 kB / 449.3 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.2507, allocations: 4.547 kB / 449.3 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.66e-05/0.2507, allocations: 10.45 kB / 449.3 MB, free: 18.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.2507, allocations: 8.469 kB / 449.3 MB, free: 18.61 MB / 366.1 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 (11): * Single equations (assignments): 11 * 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.955e-05/0.2508, allocations: 130.2 kB / 449.5 MB, free: 18.49 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.963e-05/0.2509, allocations: 13.81 kB / 449.5 MB, free: 18.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003213/0.2512, allocations: 138.1 kB / 449.6 MB, free: 18.42 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.2512, allocations: 1.094 kB / 449.6 MB, free: 18.42 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.2512, allocations: 1.219 kB / 449.6 MB, free: 18.42 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.2512, allocations: 1.781 kB / 449.6 MB, free: 18.42 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005362/0.2517, allocations: 386.2 kB / 450 MB, free: 18.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.2517, allocations: 3.812 kB / 450 MB, free: 18.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.953e-05/0.2518, allocations: 13.44 kB / 450 MB, free: 18.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.2518, allocations: 2 kB / 450 MB, free: 18.12 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.2518, allocations: 2.062 kB / 450 MB, free: 18.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.2518, allocations: 1.891 kB / 450 MB, free: 18.12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.2518, allocations: 0 / 450 MB, free: 18.12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002847/0.2521, allocations: 239.5 kB / 450.3 MB, free: 17.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.525e-05/0.2521, allocations: 13.89 kB / 450.3 MB, free: 17.94 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.152e-05/0.2522, allocations: 3.609 kB / 450.3 MB, free: 17.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.402e-05/0.2522, allocations: 6.547 kB / 450.3 MB, free: 17.94 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.338e-05/0.2523, allocations: 16.09 kB / 450.3 MB, free: 17.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.082e-05/0.2523, allocations: 4.406 kB / 450.3 MB, free: 17.93 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001138/0.2524, allocations: 141 kB / 450.4 MB, free: 17.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2524, allocations: 3.938 kB / 450.4 MB, free: 17.83 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003339/0.2528, allocations: 49.25 kB / 450.5 MB, free: 17.83 MB / 366.1 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 (11): * Single equations (assignments): 9 * 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.002151/0.2549, allocations: 0.5945 MB / 451.1 MB, free: 17.65 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002402/0.2552, allocations: 75.06 kB / 451.2 MB, free: 17.62 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2552, allocations: 0 / 451.2 MB, free: 17.62 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.605e-05/0.2553, allocations: 35.36 kB / 451.2 MB, free: 17.62 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003845/0.2556, allocations: 35.42 kB / 451.2 MB, free: 17.61 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000533/0.2562, allocations: 235.2 kB / 451.5 MB, free: 17.43 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.72e-05/0.2563, allocations: 88.06 kB / 451.5 MB, free: 17.36 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.457e-05/0.2563, allocations: 29.52 kB / 451.6 MB, free: 17.34 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.986e-05/0.2564, allocations: 23.88 kB / 451.6 MB, free: 17.33 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.2564, allocations: 0 / 451.6 MB, free: 17.33 MB / 366.1 MB Notification: Performance of Templates: time 0.007279/0.2637, allocations: 2.637 MB / 454.2 MB, free: 17 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test50.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.13197798281908]