Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001507/0.001507, 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.001584/0.001584, 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.004/1.004, allocations: 177.1 MB / 205.3 MB, free: 5.102 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.2673/0.2673, 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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.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.0.0_ModelicaTest.Tables.CombiTimeTable.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 323.3 MB, free: 9.66 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.701e-05/1.816e-05, allocations: 2.969 kB / 323.3 MB, free: 9.656 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.002123/0.002141, allocations: 1.758 MB / 325.1 MB, free: 7.887 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001219/0.00336, allocations: 1.005 MB / 326.1 MB, free: 6.875 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.414e-05/0.003425, allocations: 0 / 326.1 MB, free: 6.875 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002266/0.003651, allocations: 35.7 kB / 326.1 MB, free: 6.84 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002497/0.003901, allocations: 99.47 kB / 326.2 MB, free: 6.742 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001652/0.004066, allocations: 83.59 kB / 326.3 MB, free: 6.66 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001364/0.004202, allocations: 103.6 kB / 326.4 MB, free: 6.559 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.241e-05/0.004275, allocations: 13.36 kB / 326.4 MB, free: 6.547 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.17e-05/0.004357, allocations: 51.83 kB / 326.4 MB, free: 6.496 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.029e-05/0.004417, allocations: 23.92 kB / 326.5 MB, free: 6.473 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.301e-05/0.00443, allocations: 8 kB / 326.5 MB, free: 6.465 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.091e-05/0.004501, allocations: 51.84 kB / 326.5 MB, free: 6.414 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.98e-05/0.004541, allocations: 19.92 kB / 326.6 MB, free: 6.395 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.536e-05/0.004576, allocations: 19.92 kB / 326.6 MB, free: 6.375 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001364/0.004712, allocations: 99.59 kB / 326.7 MB, free: 6.277 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.402e-06/0.004714, allocations: 0 / 326.7 MB, free: 6.277 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.42e-07/0.004714, allocations: 0 / 326.7 MB, free: 6.277 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.755e-06/0.004717, allocations: 0 / 326.7 MB, free: 6.277 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.0003544/0.005071, allocations: 309.5 kB / 327 MB, free: 5.953 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.753e-05/0.005099, allocations: 8.031 kB / 327 MB, free: 5.945 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.722e-05/0.005126, allocations: 8.938 kB / 327 MB, free: 5.938 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.005272, allocations: 152.8 kB / 327.1 MB, free: 5.766 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.005285, allocations: 4.312 kB / 327.1 MB, free: 5.762 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.683e-05/0.005302, allocations: 4.375 kB / 327.1 MB, free: 5.758 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.081e-05/0.005393, allocations: 69.69 kB / 327.2 MB, free: 5.68 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.005401, allocations: 3.938 kB / 327.2 MB, free: 5.676 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.031e-06/0.005407, allocations: 0 / 327.2 MB, free: 5.676 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.005412, allocations: 4 kB / 327.2 MB, free: 5.672 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.244e-05/0.005434, allocations: 4 kB / 327.2 MB, free: 5.668 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001806/0.005615, allocations: 166 kB / 327.4 MB, free: 5.488 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.357e-05/0.005699, allocations: 93.34 kB / 327.5 MB, free: 5.387 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.619e-05/0.005715, allocations: 8.859 kB / 327.5 MB, free: 5.375 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.039e-05/0.005725, allocations: 7.922 kB / 327.5 MB, free: 5.367 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.434e-05/0.005799, allocations: 70.14 kB / 327.6 MB, free: 5.285 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 9.92e-07/0.0058, allocations: 0 / 327.6 MB, free: 5.285 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002462/0.006047, allocations: 113.5 kB / 327.7 MB, free: 5.168 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.954e-05/0.006076, allocations: 55.39 kB / 327.7 MB, free: 5.102 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.404e-05/0.00616, allocations: 158.9 kB / 327.9 MB, free: 4.934 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.006173, allocations: 29.7 kB / 327.9 MB, free: 4.898 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.546e-05/0.006208, allocations: 96.11 kB / 328 MB, free: 4.801 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.171e-05/0.00623, allocations: 23.78 kB / 328 MB, free: 4.777 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.829e-05/0.006258, allocations: 25.7 kB / 328.1 MB, free: 4.746 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.927e-05/0.006328, allocations: 318.8 kB / 328.4 MB, free: 4.426 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.409e-05/0.006342, allocations: 10.83 kB / 328.4 MB, free: 4.414 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.379e-05/0.006366, allocations: 33.69 kB / 328.4 MB, free: 4.375 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.925e-05/0.006405, allocations: 48.52 kB / 328.5 MB, free: 4.32 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.006406, allocations: 0 / 328.5 MB, free: 4.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.961e-05/0.006475, allocations: 72.38 kB / 328.5 MB, free: 4.242 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.338e-06/0.006485, allocations: 8.031 kB / 328.5 MB, free: 4.234 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.126e-06/0.006488, allocations: 4 kB / 328.5 MB, free: 4.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/0.006498, allocations: 0 / 328.5 MB, free: 4.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.326e-05/0.006551, allocations: 15.98 kB / 328.6 MB, free: 4.215 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.015e-06/0.006554, allocations: 0 / 328.6 MB, free: 4.215 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.591e-05/0.00658, allocations: 8 kB / 328.6 MB, free: 4.207 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-06/0.006584, allocations: 0 / 328.6 MB, free: 4.207 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 5.916e-05/0.006643, allocations: 120.6 kB / 328.7 MB, free: 4.078 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.273e-05/0.006656, allocations: 15.94 kB / 328.7 MB, free: 4.062 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.103e-05/0.006747, allocations: 70.44 kB / 328.8 MB, free: 3.988 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.006749, allocations: 7.938 kB / 328.8 MB, free: 3.98 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-06/0.00675, allocations: 0 / 328.8 MB, free: 3.98 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.006753, allocations: 0 / 328.8 MB, free: 3.98 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001939/0.006947, allocations: 295.4 kB / 329.1 MB, free: 3.664 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.006948, allocations: 0 / 329.1 MB, free: 3.664 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.326e-05/0.006971, allocations: 12.31 kB / 329.1 MB, free: 3.652 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.006973, allocations: 0 / 329.1 MB, free: 3.652 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.006979, allocations: 3.984 kB / 329.1 MB, free: 3.648 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.006982, allocations: 8 kB / 329.1 MB, free: 3.641 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.006983, allocations: 0 / 329.1 MB, free: 3.641 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.851e-05/0.007082, allocations: 223 kB / 329.3 MB, free: 3.402 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.829e-06/0.007091, allocations: 7.953 kB / 329.3 MB, free: 3.395 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.036e-05/0.007112, allocations: 0 / 329.3 MB, free: 3.395 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.805e-05/0.00715, allocations: 7.984 kB / 329.3 MB, free: 3.387 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.121e-05/0.007171, allocations: 8 kB / 329.3 MB, free: 3.379 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.007181, allocations: 3.984 kB / 329.3 MB, free: 3.375 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.546e-05/0.007216, allocations: 41.19 kB / 329.4 MB, free: 3.332 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007216, allocations: 0 / 329.4 MB, free: 3.332 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001434/0.007359, allocations: 27.92 kB / 329.4 MB, free: 3.305 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.001145/0.008505, allocations: 0.5844 MB / 330 MB, free: 3.027 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.168e-05/0.008586, allocations: 40.77 kB / 330 MB, free: 2.984 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.008589, allocations: 0 / 330 MB, free: 2.984 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.093e-05/0.00862, allocations: 36.84 kB / 330.1 MB, free: 2.945 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001567/0.008777, allocations: 23.92 kB / 330.1 MB, free: 2.922 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002639/0.009041, allocations: 216.1 kB / 330.3 MB, free: 2.676 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.969e-05/0.009081, allocations: 63.34 kB / 330.4 MB, free: 2.59 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.146e-05/0.009112, allocations: 13.28 kB / 330.4 MB, free: 2.578 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.194e-05/0.009174, allocations: 71.36 kB / 330.4 MB, free: 2.508 MB / 298.7 MB Notification: Performance of SimCode: time 7.22e-07/0.009175, allocations: 0 / 330.4 MB, free: 2.508 MB / 298.7 MB Notification: Performance of Templates: time 0.003261/0.01244, allocations: 2.015 MB / 332.4 MB, free: 0.5234 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 2.978347383905202]