Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.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.001404/0.001404, allocations: 80.41 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.001055/0.001055, allocations: 167.6 kB / 25.61 MB, free: 8.902 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.018/1.018, allocations: 177.1 MB / 206 MB, free: 4.488 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.1384/0.1384, allocations: 32.79 MB / 295.4 MB, free: 15.38 MB / 282.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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 377.3 MB, free: 25.52 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.274e-05/2.463e-05, allocations: 2.312 kB / 377.3 MB, free: 25.52 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.002157/0.002181, allocations: 1.756 MB / 379.1 MB, free: 23.75 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001078/0.003259, allocations: 0.9897 MB / 380.1 MB, free: 22.75 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.919e-05/0.003339, allocations: 0 / 380.1 MB, free: 22.75 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002715/0.00361, allocations: 47.69 kB / 380.1 MB, free: 22.71 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002583/0.003868, allocations: 95.47 kB / 380.2 MB, free: 22.61 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001754/0.004044, allocations: 83.59 kB / 380.3 MB, free: 22.53 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001365/0.00418, allocations: 107.6 kB / 380.4 MB, free: 22.43 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.459e-05/0.004265, allocations: 11.92 kB / 380.4 MB, free: 22.41 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.604e-05/0.004341, allocations: 55.83 kB / 380.5 MB, free: 22.36 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.765e-05/0.004408, allocations: 19.92 kB / 380.5 MB, free: 22.34 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.004424, allocations: 8 kB / 380.5 MB, free: 22.33 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.447e-05/0.004499, allocations: 47.92 kB / 380.6 MB, free: 22.29 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.721e-05/0.004546, allocations: 19.91 kB / 380.6 MB, free: 22.27 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.931e-05/0.004575, allocations: 19.92 kB / 380.6 MB, free: 22.25 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001521/0.004727, allocations: 107.5 kB / 380.7 MB, free: 22.14 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.00473, allocations: 0 / 380.7 MB, free: 22.14 MB / 314.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.004731, allocations: 0 / 380.7 MB, free: 22.14 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.004735, allocations: 0 / 380.7 MB, free: 22.14 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.0003521/0.005087, allocations: 451.9 kB / 381.1 MB, free: 21.66 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.00512, allocations: 11.98 kB / 381.2 MB, free: 21.65 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.581e-05/0.005156, allocations: 16.84 kB / 381.2 MB, free: 21.64 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.005274, allocations: 153.1 kB / 381.3 MB, free: 21.46 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.005289, allocations: 4.375 kB / 381.3 MB, free: 21.46 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.513e-05/0.005304, allocations: 8.375 kB / 381.3 MB, free: 21.45 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.364e-05/0.005398, allocations: 62.88 kB / 381.4 MB, free: 21.38 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.005408, allocations: 3.938 kB / 381.4 MB, free: 21.38 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.464e-06/0.005415, allocations: 0 / 381.4 MB, free: 21.38 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.289e-06/0.00542, allocations: 4 kB / 381.4 MB, free: 21.37 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.322e-05/0.005444, allocations: 7.984 kB / 381.4 MB, free: 21.36 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001909/0.005634, allocations: 260.3 kB / 381.7 MB, free: 21.08 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.804e-05/0.005712, allocations: 63.08 kB / 381.7 MB, free: 21.01 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.819e-05/0.005731, allocations: 15.67 kB / 381.7 MB, free: 20.99 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.129e-05/0.005742, allocations: 0 / 381.7 MB, free: 20.99 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.684e-05/0.005819, allocations: 68.98 kB / 381.8 MB, free: 20.91 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 7.61e-07/0.00582, allocations: 0 / 381.8 MB, free: 20.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002886/0.006108, allocations: 133.5 kB / 381.9 MB, free: 20.77 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.018e-05/0.006128, allocations: 59.34 kB / 382 MB, free: 20.7 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.942e-05/0.006208, allocations: 225.8 kB / 382.2 MB, free: 20.46 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.925e-06/0.006216, allocations: 25.7 kB / 382.2 MB, free: 20.43 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.375e-05/0.006249, allocations: 158.8 kB / 382.4 MB, free: 20.27 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.375e-05/0.006273, allocations: 31.77 kB / 382.4 MB, free: 20.24 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.746e-05/0.006301, allocations: 27.36 kB / 382.5 MB, free: 20.2 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.052e-05/0.006351, allocations: 0.4923 MB / 383 MB, free: 19.7 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.744e-05/0.006369, allocations: 15.92 kB / 383 MB, free: 19.68 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.488e-05/0.006393, allocations: 31.36 kB / 383 MB, free: 19.64 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.895e-05/0.006432, allocations: 43.36 kB / 383 MB, free: 19.59 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.006433, allocations: 0 / 383 MB, free: 19.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.906e-05/0.006522, allocations: 93.45 kB / 383.1 MB, free: 19.5 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.185e-05/0.006534, allocations: 8.031 kB / 383.1 MB, free: 19.49 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.006539, allocations: 0 / 383.1 MB, free: 19.49 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.006549, allocations: 0 / 383.1 MB, free: 19.49 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.126e-05/0.006621, allocations: 23.98 kB / 383.2 MB, free: 19.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.636e-06/0.006624, allocations: 0 / 383.2 MB, free: 19.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.094e-05/0.006655, allocations: 0 / 383.2 MB, free: 19.46 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.513e-06/0.006662, allocations: 4.375 kB / 383.2 MB, free: 19.46 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 6.003e-05/0.006722, allocations: 164.5 kB / 383.3 MB, free: 19.29 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.677e-05/0.006739, allocations: 23.83 kB / 383.4 MB, free: 19.27 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000135/0.006874, allocations: 99.22 kB / 383.4 MB, free: 19.16 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.006877, allocations: 4 kB / 383.5 MB, free: 19.16 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.006879, allocations: 4 kB / 383.5 MB, free: 19.15 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.006883, allocations: 3.984 kB / 383.5 MB, free: 19.15 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002281/0.007111, allocations: 357.6 kB / 383.8 MB, free: 18.76 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.007114, allocations: 0 / 383.8 MB, free: 18.76 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.59e-05/0.00714, allocations: 8 kB / 383.8 MB, free: 18.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.007142, allocations: 0 / 383.8 MB, free: 18.75 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.00715, allocations: 11.98 kB / 383.8 MB, free: 18.74 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.007152, allocations: 0 / 383.8 MB, free: 18.74 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.007154, allocations: 0 / 383.8 MB, free: 18.74 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.781e-05/0.007251, allocations: 263.4 kB / 384.1 MB, free: 18.46 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.014e-05/0.007262, allocations: 7.953 kB / 384.1 MB, free: 18.45 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.551e-05/0.007277, allocations: 0 / 384.1 MB, free: 18.45 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.098e-05/0.007318, allocations: 8 kB / 384.1 MB, free: 18.45 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.268e-05/0.007341, allocations: 7.922 kB / 384.1 MB, free: 18.44 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.007352, allocations: 4 kB / 384.1 MB, free: 18.43 MB / 314.7 MB Notification: Performance of sorting global known variables: time 4.131e-05/0.007393, allocations: 171.1 kB / 384.3 MB, free: 18.27 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.007393, allocations: 0 / 384.3 MB, free: 18.27 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001715/0.007565, allocations: 23.94 kB / 384.3 MB, free: 18.24 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.0009021/0.008467, allocations: 429.4 kB / 384.7 MB, free: 17.98 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000101/0.008568, allocations: 59.52 kB / 384.8 MB, free: 17.92 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.00857, allocations: 0 / 384.8 MB, free: 17.92 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 2.887e-05/0.008599, allocations: 27.67 kB / 384.8 MB, free: 17.89 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000238/0.008837, allocations: 37.19 kB / 384.8 MB, free: 17.86 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000291/0.009128, allocations: 227.7 kB / 385.1 MB, free: 17.6 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.743e-05/0.009155, allocations: 75.19 kB / 385.1 MB, free: 17.51 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.378e-05/0.009189, allocations: 21.08 kB / 385.2 MB, free: 17.48 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.594e-05/0.009245, allocations: 86.19 kB / 385.2 MB, free: 17.4 MB / 314.7 MB Notification: Performance of SimCode: time 3.51e-07/0.009246, allocations: 0 / 385.2 MB, free: 17.4 MB / 314.7 MB Notification: Performance of Templates: time 0.003469/0.01271, allocations: 2.061 MB / 387.3 MB, free: 15.37 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.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.4103813297115266]