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.000957/0.000957, allocations: 77.97 kB / 21.42 MB, free: 3.078 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.001078/0.001078, allocations: 165.5 kB / 24.82 MB, free: 8.926 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.9952/0.9952, allocations: 177.2 MB / 205.3 MB, free: 5.484 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.2477/0.2477, allocations: 32.8 MB / 294.6 MB, free: 1.195 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.643e-06/1.643e-06, allocations: 0 / 376.6 MB, free: 4.297 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.136e-05/2.3e-05, allocations: 2.312 kB / 376.6 MB, free: 4.293 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.002574/0.002597, allocations: 1.758 MB / 378.3 MB, free: 2.52 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001295/0.003892, allocations: 0.9897 MB / 379.3 MB, free: 1.523 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.755e-05/0.00397, allocations: 0 / 379.3 MB, free: 1.523 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002675/0.004237, allocations: 39.72 kB / 379.4 MB, free: 1.484 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002781/0.004515, allocations: 99.48 kB / 379.5 MB, free: 1.387 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000187/0.004702, allocations: 79.59 kB / 379.5 MB, free: 1.309 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001409/0.004843, allocations: 107.7 kB / 379.6 MB, free: 1.203 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.891e-05/0.004922, allocations: 4 kB / 379.6 MB, free: 1.199 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.084e-05/0.005003, allocations: 59.77 kB / 379.7 MB, free: 1.141 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.147e-05/0.005064, allocations: 27.91 kB / 379.7 MB, free: 1.113 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.37e-05/0.005078, allocations: 4 kB / 379.7 MB, free: 1.109 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.866e-05/0.005157, allocations: 43.92 kB / 379.8 MB, free: 1.066 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.07e-05/0.005197, allocations: 15.92 kB / 379.8 MB, free: 1.051 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.229e-05/0.00523, allocations: 23.86 kB / 379.8 MB, free: 1.027 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.005375, allocations: 103.6 kB / 379.9 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.005378, allocations: 4 kB / 379.9 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.005379, allocations: 0 / 379.9 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.587e-06/0.005383, allocations: 0 / 379.9 MB, free: 0.9219 MB / 346.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.0003683/0.005751, allocations: 439.9 kB / 380.3 MB, free: 468 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.005787, allocations: 8.031 kB / 380.4 MB, free: 460 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.257e-05/0.00582, allocations: 8.891 kB / 380.4 MB, free: 452 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.005945, allocations: 152.3 kB / 380.5 MB, free: 272 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.005961, allocations: 4.375 kB / 380.5 MB, free: 268 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.394e-05/0.005975, allocations: 4.375 kB / 380.5 MB, free: 264 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/0.00608, allocations: 62.94 kB / 380.6 MB, free: 192 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.006089, allocations: 7.875 kB / 380.6 MB, free: 184 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.803e-06/0.006096, allocations: 3.984 kB / 380.6 MB, free: 180 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.0061, allocations: 0 / 380.6 MB, free: 180 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.405e-05/0.006124, allocations: 12 kB / 380.6 MB, free: 168 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002323/0.006356, allocations: 248.5 kB / 380.9 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.029e-05/0.006437, allocations: 55.14 kB / 380.9 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.911e-05/0.006456, allocations: 15.62 kB / 380.9 MB, free: 15.81 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.006472, allocations: 11.92 kB / 380.9 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.273e-05/0.006554, allocations: 76.94 kB / 381 MB, free: 15.71 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.006555, allocations: 0 / 381 MB, free: 15.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002897/0.006845, allocations: 137.8 kB / 381.1 MB, free: 15.57 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.25e-05/0.006868, allocations: 51.41 kB / 381.2 MB, free: 15.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.006969, allocations: 206.5 kB / 381.4 MB, free: 15.29 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.006982, allocations: 29.7 kB / 381.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.653e-05/0.007048, allocations: 150.8 kB / 381.6 MB, free: 15.1 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.516e-05/0.007073, allocations: 23.8 kB / 381.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.366e-05/0.007107, allocations: 31.34 kB / 381.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001062/0.007213, allocations: 0.4923 MB / 382.1 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.847e-05/0.007232, allocations: 12.06 kB / 382.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.823e-05/0.00726, allocations: 39.28 kB / 382.2 MB, free: 14.47 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.248e-05/0.007302, allocations: 39.38 kB / 382.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.007303, allocations: 0 / 382.2 MB, free: 14.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.412e-05/0.007398, allocations: 93.48 kB / 382.3 MB, free: 14.33 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/0.007409, allocations: 8 kB / 382.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.007413, allocations: 0 / 382.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.007424, allocations: 0 / 382.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.627e-05/0.00748, allocations: 12 kB / 382.3 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.007485, allocations: 8.031 kB / 382.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.759e-05/0.007512, allocations: 3.984 kB / 382.3 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.007519, allocations: 8 kB / 382.3 MB, free: 14.29 MB / 362.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.564e-05/0.007585, allocations: 156.5 kB / 382.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.646e-05/0.007601, allocations: 23.84 kB / 382.5 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001315/0.007733, allocations: 98.58 kB / 382.6 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.007735, allocations: 3.938 kB / 382.6 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.007737, allocations: 4 kB / 382.6 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.00774, allocations: 0 / 382.6 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002663/0.008006, allocations: 361.6 kB / 383 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.008008, allocations: 0 / 383 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.821e-05/0.008036, allocations: 11.98 kB / 383 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.008038, allocations: 0 / 383 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.023e-05/0.008059, allocations: 4 kB / 383 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.504e-06/0.008061, allocations: 0 / 383 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.008063, allocations: 0 / 383 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000143/0.008206, allocations: 259.3 kB / 383.2 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.035e-05/0.008216, allocations: 3.953 kB / 383.2 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.506e-05/0.008231, allocations: 8 kB / 383.2 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.443e-05/0.008275, allocations: 3.984 kB / 383.3 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.078e-05/0.008296, allocations: 8.031 kB / 383.3 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.008308, allocations: 7.984 kB / 383.3 MB, free: 13.27 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.269e-05/0.008371, allocations: 160 kB / 383.4 MB, free: 13.12 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008371, allocations: 0 / 383.4 MB, free: 13.12 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001769/0.008548, allocations: 27.94 kB / 383.5 MB, free: 13.09 MB / 362.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.0009141/0.009462, allocations: 440.9 kB / 383.9 MB, free: 12.82 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001016/0.009564, allocations: 43.64 kB / 383.9 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.009565, allocations: 4 kB / 383.9 MB, free: 12.77 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.613e-05/0.009601, allocations: 31.67 kB / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/0.009836, allocations: 31.92 kB / 384 MB, free: 12.7 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003611/0.0102, allocations: 210.6 kB / 384.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.271e-05/0.01024, allocations: 71.33 kB / 384.3 MB, free: 12.37 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.818e-05/0.01028, allocations: 12.97 kB / 384.3 MB, free: 12.36 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.967e-05/0.01036, allocations: 86.19 kB / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of SimCode: time 6.01e-07/0.01036, allocations: 8 kB / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of Templates: time 0.003778/0.01414, allocations: 2.039 MB / 386.4 MB, free: 10.26 MB / 362.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: 3.0711245401762426]