Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.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.0009736/0.0009736, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.0009566/0.0009566, allocations: 163.9 kB / 25.61 MB, free: 8.582 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.8912/0.8912, allocations: 177.1 MB / 206 MB, free: 4.492 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.1517/0.1517, allocations: 34.26 MB / 296.8 MB, free: 14.02 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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 379.4 MB, free: 23.34 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.269e-05/1.391e-05, allocations: 2.312 kB / 379.4 MB, free: 23.33 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.00206/0.002074, allocations: 1.747 MB / 381.1 MB, free: 21.57 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001105/0.003179, allocations: 0.9896 MB / 382.1 MB, free: 20.57 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.604e-05/0.003245, allocations: 8 kB / 382.1 MB, free: 20.57 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001082/0.004327, allocations: 43.7 kB / 382.2 MB, free: 20.52 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000256/0.004583, allocations: 99.47 kB / 382.3 MB, free: 20.43 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001475/0.00473, allocations: 79.61 kB / 382.3 MB, free: 20.35 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001372/0.004868, allocations: 111.6 kB / 382.5 MB, free: 20.24 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.541e-05/0.004943, allocations: 11.98 kB / 382.5 MB, free: 20.23 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.44e-05/0.005017, allocations: 51.78 kB / 382.5 MB, free: 20.18 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.191e-05/0.005079, allocations: 27.89 kB / 382.5 MB, free: 20.15 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/0.005092, allocations: 8 kB / 382.6 MB, free: 20.14 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.285e-05/0.005165, allocations: 47.92 kB / 382.6 MB, free: 20.09 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.248e-05/0.005208, allocations: 23.91 kB / 382.6 MB, free: 20.07 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.966e-05/0.005237, allocations: 19.94 kB / 382.6 MB, free: 20.05 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001456/0.005383, allocations: 103.6 kB / 382.7 MB, free: 19.95 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.613e-06/0.005385, allocations: 0 / 382.7 MB, free: 19.95 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.005385, allocations: 0 / 382.7 MB, free: 19.95 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.968e-06/0.005389, allocations: 0 / 382.7 MB, free: 19.95 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.0003311/0.00572, allocations: 447.8 kB / 383.2 MB, free: 19.48 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0006947/0.006415, allocations: 12.03 kB / 383.2 MB, free: 19.46 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.431e-05/0.006459, allocations: 16.84 kB / 383.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/0.006608, allocations: 145.1 kB / 383.4 MB, free: 19.28 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.86e-05/0.006627, allocations: 8.359 kB / 383.4 MB, free: 19.27 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.64e-05/0.006643, allocations: 384 / 383.4 MB, free: 19.27 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007569/0.0074, allocations: 62.94 kB / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.003288/0.01069, allocations: 3.938 kB / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.0107, allocations: 0 / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.0107, allocations: 0 / 383.4 MB, free: 19.2 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.77e-05/0.01075, allocations: 15.92 kB / 383.4 MB, free: 19.18 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002241/0.01098, allocations: 264.3 kB / 383.7 MB, free: 18.9 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.127e-05/0.01106, allocations: 55.16 kB / 383.8 MB, free: 18.83 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.97e-05/0.01108, allocations: 15.69 kB / 383.8 MB, free: 18.81 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.011e-05/0.01109, allocations: 0 / 383.8 MB, free: 18.81 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.888e-05/0.01117, allocations: 68.92 kB / 383.8 MB, free: 18.73 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 9.52e-07/0.01117, allocations: 0 / 383.8 MB, free: 18.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002934/0.01146, allocations: 133.5 kB / 384 MB, free: 18.59 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.778e-05/0.01148, allocations: 55.41 kB / 384 MB, free: 18.53 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.914e-05/0.01157, allocations: 237.8 kB / 384.3 MB, free: 18.28 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.165e-06/0.01158, allocations: 25.7 kB / 384.3 MB, free: 18.25 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.324e-05/0.01161, allocations: 150.9 kB / 384.4 MB, free: 18.09 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.847e-05/0.01164, allocations: 31.77 kB / 384.5 MB, free: 18.06 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.45e-05/0.01167, allocations: 27.38 kB / 384.5 MB, free: 18.03 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.029e-05/0.01171, allocations: 0.4962 MB / 385 MB, free: 17.52 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.767e-05/0.01173, allocations: 11.98 kB / 385 MB, free: 17.51 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.491e-05/0.01176, allocations: 27.36 kB / 385 MB, free: 17.47 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.436e-05/0.0118, allocations: 51.36 kB / 385.1 MB, free: 17.41 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.0118, allocations: 384 / 385.1 MB, free: 17.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.439e-05/0.01189, allocations: 93.48 kB / 385.2 MB, free: 17.32 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.01191, allocations: 12 kB / 385.2 MB, free: 17.3 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.01191, allocations: 0 / 385.2 MB, free: 17.3 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.626e-06/0.01192, allocations: 0 / 385.2 MB, free: 17.3 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.405e-05/0.01198, allocations: 16 kB / 385.2 MB, free: 17.29 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.026e-06/0.01199, allocations: 4 kB / 385.2 MB, free: 17.29 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.386e-05/0.01202, allocations: 3.984 kB / 385.2 MB, free: 17.28 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.01203, allocations: 8 kB / 385.2 MB, free: 17.27 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.533e-05/0.01207, allocations: 159.5 kB / 385.4 MB, free: 17.11 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.802e-05/0.01209, allocations: 19.84 kB / 385.4 MB, free: 17.09 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001222/0.01221, allocations: 103.1 kB / 385.5 MB, free: 16.98 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.01221, allocations: 4 kB / 385.5 MB, free: 16.98 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.01222, allocations: 0 / 385.5 MB, free: 16.98 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.01222, allocations: 0 / 385.5 MB, free: 16.98 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000218/0.01244, allocations: 361.6 kB / 385.8 MB, free: 16.59 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.01244, allocations: 0 / 385.8 MB, free: 16.59 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.811e-05/0.01247, allocations: 15.92 kB / 385.8 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.01247, allocations: 0 / 385.8 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.172e-06/0.01247, allocations: 4 kB / 385.9 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.01247, allocations: 0 / 385.9 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.01248, allocations: 32 / 385.9 MB, free: 16.57 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001107/0.01259, allocations: 259.7 kB / 386.1 MB, free: 16.29 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.196e-05/0.0126, allocations: 11.95 kB / 386.1 MB, free: 16.28 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/0.01262, allocations: 4 kB / 386.1 MB, free: 16.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.085e-05/0.01268, allocations: 3.984 kB / 386.1 MB, free: 16.27 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.308e-05/0.0127, allocations: 11.97 kB / 386.1 MB, free: 16.26 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.01271, allocations: 11.94 kB / 386.1 MB, free: 16.25 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.598e-05/0.01276, allocations: 159.1 kB / 386.3 MB, free: 16.09 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01276, allocations: 4 kB / 386.3 MB, free: 16.09 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002377/0.01299, allocations: 23.94 kB / 386.3 MB, free: 16.06 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.003984/0.01698, allocations: 440.4 kB / 386.8 MB, free: 15.79 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 9.879e-05/0.01708, allocations: 47.55 kB / 386.8 MB, free: 15.74 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01708, allocations: 0 / 386.8 MB, free: 15.74 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.582e-05/0.01711, allocations: 39.59 kB / 386.8 MB, free: 15.7 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002864/0.0174, allocations: 33.7 kB / 386.9 MB, free: 15.67 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002768/0.01768, allocations: 215.9 kB / 387.1 MB, free: 15.43 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.059e-05/0.01771, allocations: 67.33 kB / 387.2 MB, free: 15.34 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.803e-05/0.01775, allocations: 20.97 kB / 387.2 MB, free: 15.32 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.027e-05/0.01781, allocations: 90.19 kB / 387.3 MB, free: 15.23 MB / 314.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01781, allocations: 0 / 387.3 MB, free: 15.23 MB / 314.7 MB Notification: Performance of Templates: time 0.009732/0.02754, allocations: 2.059 MB / 389.3 MB, free: 13.2 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.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: 2.9680095510557294]