Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.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.001041/0.001041, allocations: 80.2 kB / 20.65 MB, free: 3.844 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.001054/0.001054, allocations: 165 kB / 24.05 MB, free: 456 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.046/1.046, allocations: 158.6 MB / 185.9 MB, free: 2.816 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1474/0.1474, allocations: 32.38 MB / 270.7 MB, free: 14.54 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 348.2 MB, free: 9.098 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.487e-05/2.7e-05, allocations: 9.344 kB / 348.2 MB, free: 9.09 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.002291/0.002318, allocations: 1.719 MB / 349.9 MB, free: 7.359 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001162/0.00348, allocations: 0.7881 MB / 350.7 MB, free: 6.562 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.482e-05/0.003564, allocations: 4 kB / 350.7 MB, free: 6.559 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003339/0.003898, allocations: 91.62 kB / 350.8 MB, free: 6.469 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002123/0.004111, allocations: 79.66 kB / 350.9 MB, free: 6.391 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001925/0.004303, allocations: 91.62 kB / 351 MB, free: 6.301 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001407/0.004444, allocations: 111.6 kB / 351.1 MB, free: 6.191 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.842e-05/0.004532, allocations: 8.219 kB / 351.1 MB, free: 6.184 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.229e-05/0.004614, allocations: 59.88 kB / 351.1 MB, free: 6.125 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.429e-05/0.004709, allocations: 59.86 kB / 351.2 MB, free: 6.066 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.004727, allocations: 4 kB / 351.2 MB, free: 6.062 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.073e-05/0.004797, allocations: 51.91 kB / 351.3 MB, free: 6.012 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.618e-05/0.004844, allocations: 19.88 kB / 351.3 MB, free: 5.992 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.824e-05/0.004882, allocations: 19.92 kB / 351.3 MB, free: 5.973 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001658/0.005048, allocations: 107.5 kB / 351.4 MB, free: 5.867 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.005049, allocations: 4 kB / 351.4 MB, free: 5.863 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.71e-07/0.00505, allocations: 0 / 351.4 MB, free: 5.863 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.005055, allocations: 0 / 351.4 MB, free: 5.863 MB / 282.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.0004177/0.005472, allocations: 455.8 kB / 351.9 MB, free: 5.383 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.905e-05/0.005511, allocations: 8.031 kB / 351.9 MB, free: 5.375 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.181e-05/0.005543, allocations: 16.84 kB / 351.9 MB, free: 5.359 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.005658, allocations: 152.4 kB / 352 MB, free: 5.184 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.005671, allocations: 4.312 kB / 352 MB, free: 5.18 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.714e-05/0.005689, allocations: 8.375 kB / 352 MB, free: 5.172 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.756e-05/0.005786, allocations: 58.92 kB / 352.1 MB, free: 5.105 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.071e-05/0.005797, allocations: 3.938 kB / 352.1 MB, free: 5.102 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-06/0.005804, allocations: 4 kB / 352.1 MB, free: 5.098 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.064e-06/0.005811, allocations: 0 / 352.1 MB, free: 5.098 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.358e-05/0.005835, allocations: 8 kB / 352.1 MB, free: 5.09 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001987/0.006034, allocations: 268.3 kB / 352.4 MB, free: 4.801 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.409e-05/0.006108, allocations: 63.09 kB / 352.4 MB, free: 4.727 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.934e-05/0.006127, allocations: 15.69 kB / 352.5 MB, free: 4.707 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/0.006143, allocations: 0 / 352.5 MB, free: 4.707 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.214e-05/0.006225, allocations: 72.97 kB / 352.5 MB, free: 4.621 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 7.71e-07/0.006226, allocations: 0 / 352.5 MB, free: 4.621 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003125/0.006538, allocations: 133.5 kB / 352.7 MB, free: 4.484 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.944e-05/0.006558, allocations: 51.41 kB / 352.7 MB, free: 4.422 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.006658, allocations: 245.8 kB / 352.9 MB, free: 4.164 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.357e-06/0.006668, allocations: 29.64 kB / 353 MB, free: 4.129 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.185e-05/0.00671, allocations: 158.8 kB / 353.1 MB, free: 3.969 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.678e-05/0.006736, allocations: 35.78 kB / 353.2 MB, free: 3.934 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.004e-05/0.006766, allocations: 31.3 kB / 353.2 MB, free: 3.895 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.849e-05/0.006835, allocations: 0.5001 MB / 353.7 MB, free: 3.383 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.319e-05/0.006848, allocations: 4 kB / 353.7 MB, free: 3.379 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.496e-05/0.006873, allocations: 31.36 kB / 353.7 MB, free: 3.34 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.894e-05/0.006912, allocations: 51.34 kB / 353.8 MB, free: 3.281 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.006913, allocations: 0 / 353.8 MB, free: 3.281 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.455e-05/0.006998, allocations: 85.55 kB / 353.9 MB, free: 3.191 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/0.007008, allocations: 8.031 kB / 353.9 MB, free: 3.184 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.007013, allocations: 4.078 kB / 353.9 MB, free: 3.18 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.007026, allocations: 0 / 353.9 MB, free: 3.18 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.359e-05/0.00709, allocations: 19.92 kB / 353.9 MB, free: 3.16 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.007094, allocations: 3.984 kB / 353.9 MB, free: 3.156 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.408e-05/0.007128, allocations: 8 kB / 353.9 MB, free: 3.148 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-06/0.007134, allocations: 0 / 353.9 MB, free: 3.148 MB / 282.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.664e-05/0.007191, allocations: 164.6 kB / 354.1 MB, free: 2.977 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.418e-05/0.007205, allocations: 19.84 kB / 354.1 MB, free: 2.957 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001249/0.00733, allocations: 99.06 kB / 354.2 MB, free: 2.852 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.007334, allocations: 8 kB / 354.2 MB, free: 2.844 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.007336, allocations: 0 / 354.2 MB, free: 2.844 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.00734, allocations: 0 / 354.2 MB, free: 2.844 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001914/0.007531, allocations: 365.5 kB / 354.5 MB, free: 2.449 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.007532, allocations: 0 / 354.5 MB, free: 2.449 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.968e-05/0.007552, allocations: 8 kB / 354.6 MB, free: 2.441 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.007554, allocations: 384 / 354.6 MB, free: 2.441 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.007561, allocations: 8 kB / 354.6 MB, free: 2.434 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.007563, allocations: 4 kB / 354.6 MB, free: 2.43 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.007564, allocations: 3.984 kB / 354.6 MB, free: 2.426 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.557e-05/0.00766, allocations: 259.5 kB / 354.8 MB, free: 2.148 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.072e-05/0.007671, allocations: 11.91 kB / 354.8 MB, free: 2.137 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.346e-05/0.007684, allocations: 0 / 354.8 MB, free: 2.137 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.891e-05/0.007723, allocations: 8 kB / 354.8 MB, free: 2.129 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.414e-05/0.007747, allocations: 3.984 kB / 354.8 MB, free: 2.125 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.007758, allocations: 4 kB / 354.9 MB, free: 2.121 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.72e-05/0.007805, allocations: 183 kB / 355 MB, free: 1.941 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007805, allocations: 0 / 355 MB, free: 1.941 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001609/0.007966, allocations: 23.94 kB / 355.1 MB, free: 1.918 MB / 282.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.0008105/0.008776, allocations: 439.1 kB / 355.5 MB, free: 1.586 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.045e-05/0.008867, allocations: 55.52 kB / 355.5 MB, free: 1.527 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.008868, allocations: 0 / 355.5 MB, free: 1.527 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.109e-05/0.008899, allocations: 27.83 kB / 355.6 MB, free: 1.496 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002212/0.009121, allocations: 32.06 kB / 355.6 MB, free: 1.465 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003057/0.009426, allocations: 237.4 kB / 355.8 MB, free: 1.203 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.927e-05/0.009456, allocations: 67.34 kB / 355.9 MB, free: 1.117 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.035e-05/0.009486, allocations: 16.61 kB / 355.9 MB, free: 1.102 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.021e-05/0.009546, allocations: 94.19 kB / 356 MB, free: 1.008 MB / 282.7 MB Notification: Performance of SimCode: time 8.31e-07/0.009547, allocations: 0 / 356 MB, free: 1.008 MB / 282.7 MB Notification: Performance of Templates: time 0.003877/0.01342, allocations: 2.022 MB / 358 MB, free: 15.01 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.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.111461595632136]