Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.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.0009695/0.0009695, allocations: 76.41 kB / 22.21 MB, free: 2.285 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.00169/0.00169, allocations: 173.8 kB / 25.61 MB, free: 8.898 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.9368/0.9368, allocations: 177.1 MB / 206 MB, free: 4.504 MB / 186.7 MB " [Timeout remaining time 179] 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.1339/0.1339, allocations: 34.26 MB / 296.8 MB, free: 13.95 MB / 282.7 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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 379.4 MB, free: 23.35 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.237e-05/1.37e-05, allocations: 6.25 kB / 379.4 MB, free: 23.34 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.001796/0.00181, allocations: 1.743 MB / 381.1 MB, free: 21.58 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009418/0.002752, allocations: 0.9936 MB / 382.1 MB, free: 20.58 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.11e-05/0.002823, allocations: 4 kB / 382.1 MB, free: 20.58 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002315/0.003054, allocations: 31.77 kB / 382.1 MB, free: 20.55 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002208/0.003275, allocations: 103.4 kB / 382.3 MB, free: 20.45 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001553/0.003431, allocations: 83.59 kB / 382.3 MB, free: 20.36 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001312/0.003562, allocations: 103.6 kB / 382.4 MB, free: 20.26 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.959e-05/0.003641, allocations: 15.98 kB / 382.4 MB, free: 20.25 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.997e-05/0.003711, allocations: 55.83 kB / 382.5 MB, free: 20.19 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.913e-05/0.00377, allocations: 23.86 kB / 382.5 MB, free: 20.17 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.224e-05/0.003783, allocations: 4 kB / 382.5 MB, free: 20.16 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.822e-05/0.003851, allocations: 43.92 kB / 382.6 MB, free: 20.12 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.991e-05/0.003891, allocations: 23.91 kB / 382.6 MB, free: 20.1 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.607e-05/0.003917, allocations: 19.92 kB / 382.6 MB, free: 20.08 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001228/0.00404, allocations: 99.59 kB / 382.7 MB, free: 19.98 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.734e-06/0.004041, allocations: 0 / 382.7 MB, free: 19.98 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.91e-07/0.004042, allocations: 0 / 382.7 MB, free: 19.98 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.705e-06/0.004045, allocations: 0 / 382.7 MB, free: 19.98 MB / 314.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.0002922/0.004337, allocations: 436 kB / 383.1 MB, free: 19.52 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.719e-05/0.004364, allocations: 8.031 kB / 383.1 MB, free: 19.51 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.032e-05/0.004394, allocations: 24.84 kB / 383.2 MB, free: 19.49 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.992e-05/0.004494, allocations: 151.2 kB / 383.3 MB, free: 19.32 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.004508, allocations: 384 / 383.3 MB, free: 19.32 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.41e-05/0.004522, allocations: 4.375 kB / 383.3 MB, free: 19.31 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.719e-05/0.004599, allocations: 62.88 kB / 383.4 MB, free: 19.24 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.004608, allocations: 3.938 kB / 383.4 MB, free: 19.24 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.701e-06/0.004614, allocations: 0 / 383.4 MB, free: 19.24 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.004618, allocations: 0 / 383.4 MB, free: 19.24 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.211e-05/0.00464, allocations: 15.98 kB / 383.4 MB, free: 19.22 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001736/0.004814, allocations: 260.4 kB / 383.7 MB, free: 18.94 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.502e-05/0.004889, allocations: 47.11 kB / 383.7 MB, free: 18.88 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.036e-05/0.004909, allocations: 19.67 kB / 383.7 MB, free: 18.86 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.598e-06/0.004919, allocations: 3.984 kB / 383.7 MB, free: 18.86 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.166e-05/0.004991, allocations: 72.97 kB / 383.8 MB, free: 18.77 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 8.01e-07/0.004991, allocations: 0 / 383.8 MB, free: 18.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002574/0.005249, allocations: 133.5 kB / 383.9 MB, free: 18.63 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.641e-05/0.005265, allocations: 55.41 kB / 384 MB, free: 18.57 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.728e-05/0.005333, allocations: 210.5 kB / 384.2 MB, free: 18.34 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.364e-06/0.00534, allocations: 29.7 kB / 384.2 MB, free: 18.31 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.851e-05/0.005368, allocations: 154.8 kB / 384.4 MB, free: 18.15 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.057e-05/0.005389, allocations: 27.77 kB / 384.4 MB, free: 18.12 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.473e-05/0.005414, allocations: 27.38 kB / 384.4 MB, free: 18.09 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 3.582e-05/0.005449, allocations: 0.4923 MB / 384.9 MB, free: 17.59 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.241e-05/0.005462, allocations: 8 kB / 384.9 MB, free: 17.58 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.15e-05/0.005483, allocations: 39.3 kB / 385 MB, free: 17.53 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.56e-05/0.005519, allocations: 51.41 kB / 385 MB, free: 17.47 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.00552, allocations: 0 / 385 MB, free: 17.47 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 7.144e-05/0.005591, allocations: 89.52 kB / 385.1 MB, free: 17.38 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.205e-06/0.005599, allocations: 4 kB / 385.1 MB, free: 17.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.005603, allocations: 0 / 385.1 MB, free: 17.38 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.554e-06/0.00561, allocations: 0 / 385.1 MB, free: 17.38 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.057e-05/0.005661, allocations: 19.98 kB / 385.1 MB, free: 17.36 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.294e-06/0.005663, allocations: 384 / 385.1 MB, free: 17.36 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.958e-05/0.005693, allocations: 0 / 385.1 MB, free: 17.36 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.005698, allocations: 4 kB / 385.1 MB, free: 17.35 MB / 314.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 4.244e-05/0.005741, allocations: 168.5 kB / 385.3 MB, free: 17.18 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.359e-05/0.005754, allocations: 23.78 kB / 385.3 MB, free: 17.15 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.86e-05/0.005853, allocations: 98.38 kB / 385.4 MB, free: 17.05 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.005855, allocations: 4 kB / 385.4 MB, free: 17.05 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-06/0.005856, allocations: 0 / 385.4 MB, free: 17.05 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.005859, allocations: 0 / 385.4 MB, free: 17.05 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/0.006031, allocations: 361.6 kB / 385.8 MB, free: 16.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.006033, allocations: 0 / 385.8 MB, free: 16.66 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.999e-05/0.006053, allocations: 8 kB / 385.8 MB, free: 16.65 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.006054, allocations: 4 kB / 385.8 MB, free: 16.64 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.15e-06/0.006059, allocations: 8.031 kB / 385.8 MB, free: 16.64 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.00606, allocations: 0 / 385.8 MB, free: 16.64 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.006061, allocations: 4 kB / 385.8 MB, free: 16.63 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.981e-05/0.006141, allocations: 251.7 kB / 386 MB, free: 16.36 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.668e-06/0.006151, allocations: 15.92 kB / 386.1 MB, free: 16.35 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.323e-05/0.006164, allocations: 0 / 386.1 MB, free: 16.35 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.742e-05/0.006201, allocations: 8 kB / 386.1 MB, free: 16.34 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.167e-05/0.006223, allocations: 7.984 kB / 386.1 MB, free: 16.33 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-06/0.006231, allocations: 0 / 386.1 MB, free: 16.33 MB / 314.7 MB Notification: Performance of sorting global known variables: time 3.469e-05/0.006266, allocations: 160.7 kB / 386.2 MB, free: 16.18 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006266, allocations: 4 kB / 386.2 MB, free: 16.17 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001634/0.006429, allocations: 19.94 kB / 386.2 MB, free: 16.15 MB / 314.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.0007779/0.007207, allocations: 447 kB / 386.7 MB, free: 15.88 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 7.85e-05/0.007286, allocations: 51.55 kB / 386.7 MB, free: 15.82 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.007287, allocations: 0 / 386.7 MB, free: 15.82 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.544e-05/0.007312, allocations: 27.67 kB / 386.8 MB, free: 15.79 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002038/0.007516, allocations: 27.91 kB / 386.8 MB, free: 15.77 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002224/0.007739, allocations: 220.3 kB / 387 MB, free: 15.52 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.177e-05/0.00776, allocations: 67.2 kB / 387.1 MB, free: 15.43 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 2.898e-05/0.007789, allocations: 13.28 kB / 387.1 MB, free: 15.42 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.929e-05/0.007839, allocations: 98.12 kB / 387.2 MB, free: 15.32 MB / 314.7 MB Notification: Performance of SimCode: time 4.01e-07/0.007839, allocations: 0 / 387.2 MB, free: 15.32 MB / 314.7 MB Notification: Performance of Templates: time 0.002893/0.01073, allocations: 2.058 MB / 389.2 MB, free: 13.3 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.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.0579679617658257]