Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.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.0009349/0.0009349, allocations: 75.75 kB / 21.69 MB, free: 2.859 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.0009519/0.0009519, allocations: 166.2 kB / 24.99 MB, free: 9.289 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.016/1.016, allocations: 177.1 MB / 205.3 MB, free: 5.629 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.2816/0.2816, allocations: 32.81 MB / 294.6 MB, free: 1.297 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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37") translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 376.1 MB, free: 4.922 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.022e-05/2.212e-05, allocations: 9.406 kB / 376.1 MB, free: 4.914 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test37): time 0.002062/0.002084, allocations: 1.719 MB / 377.8 MB, free: 3.18 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.00324, allocations: 0.9858 MB / 378.8 MB, free: 2.188 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.009e-05/0.00331, allocations: 0 / 378.8 MB, free: 2.188 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00029/0.0036, allocations: 67.67 kB / 378.8 MB, free: 2.121 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002485/0.003849, allocations: 111.5 kB / 379 MB, free: 2.012 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001212/0.00397, allocations: 71.67 kB / 379 MB, free: 1.941 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001444/0.004114, allocations: 115.5 kB / 379.1 MB, free: 1.828 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.779e-05/0.004152, allocations: 240 / 379.1 MB, free: 1.828 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.78e-05/0.00424, allocations: 63.88 kB / 379.2 MB, free: 1.766 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.368e-05/0.004324, allocations: 39.89 kB / 379.2 MB, free: 1.727 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.004344, allocations: 4 kB / 379.2 MB, free: 1.723 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.95e-05/0.004413, allocations: 43.91 kB / 379.3 MB, free: 1.68 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.724e-05/0.00446, allocations: 15.88 kB / 379.3 MB, free: 1.664 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.127e-05/0.004502, allocations: 19.92 kB / 379.3 MB, free: 1.645 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001567/0.004658, allocations: 87.66 kB / 379.4 MB, free: 1.559 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.004661, allocations: 4 kB / 379.4 MB, free: 1.555 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.004662, allocations: 0 / 379.4 MB, free: 1.555 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.004666, allocations: 0 / 379.4 MB, free: 1.555 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004022/0.005068, allocations: 435.9 kB / 379.8 MB, free: 1.094 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.005101, allocations: 12.03 kB / 379.8 MB, free: 1.082 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.149e-05/0.005142, allocations: 16.84 kB / 379.9 MB, free: 1.066 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001541/0.005296, allocations: 153.1 kB / 380 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/0.00532, allocations: 384 / 380 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.123e-05/0.005331, allocations: 8.25 kB / 380 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.005433, allocations: 58.94 kB / 380.1 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.00544, allocations: 7.938 kB / 380.1 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.415e-06/0.005449, allocations: 0 / 380.1 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.483e-06/0.005455, allocations: 0 / 380.1 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.97e-05/0.005485, allocations: 7.984 kB / 380.1 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001323/0.005617, allocations: 144.7 kB / 380.2 MB, free: 0.625 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.826e-05/0.005716, allocations: 51.09 kB / 380.3 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.062e-05/0.005746, allocations: 23.61 kB / 380.3 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.134e-05/0.005758, allocations: 0 / 380.3 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.459e-05/0.005842, allocations: 65.05 kB / 380.4 MB, free: 468 kB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 6.91e-07/0.005843, allocations: 0 / 380.4 MB, free: 468 kB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001647/0.006007, allocations: 85.53 kB / 380.5 MB, free: 376 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.257e-05/0.00604, allocations: 59.33 kB / 380.5 MB, free: 304 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001252/0.006165, allocations: 234.4 kB / 380.7 MB, free: 52 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.969e-06/0.006175, allocations: 25.7 kB / 380.8 MB, free: 20 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.259e-05/0.006238, allocations: 154.9 kB / 380.9 MB, free: 15.86 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.882e-05/0.006267, allocations: 11.84 kB / 380.9 MB, free: 15.85 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.164e-05/0.006298, allocations: 31.36 kB / 381 MB, free: 15.81 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002736/0.006572, allocations: 0.4962 MB / 381.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.933e-05/0.006591, allocations: 4 kB / 381.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.988e-05/0.006621, allocations: 31.36 kB / 381.5 MB, free: 15.26 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.493e-05/0.006666, allocations: 35.62 kB / 381.5 MB, free: 15.22 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.006668, allocations: 0 / 381.5 MB, free: 15.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.464e-05/0.006743, allocations: 77.58 kB / 381.6 MB, free: 15.14 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.006754, allocations: 8 kB / 381.6 MB, free: 15.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.006759, allocations: 3.938 kB / 381.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.969e-06/0.006769, allocations: 0 / 381.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.619e-05/0.006826, allocations: 11.98 kB / 381.6 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.006831, allocations: 3.938 kB / 381.6 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.666e-05/0.006858, allocations: 7.953 kB / 381.6 MB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.006863, allocations: 4 kB / 381.6 MB, free: 15.1 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 (7): * Single equations (assignments): 7 * 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.065e-05/0.006924, allocations: 156.6 kB / 381.8 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.402e-05/0.006938, allocations: 15.98 kB / 381.8 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001076/0.007046, allocations: 82.77 kB / 381.9 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.007048, allocations: 4 kB / 381.9 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.095e-06/0.007051, allocations: 3.938 kB / 381.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.007056, allocations: 3.984 kB / 381.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.632e-05/0.007142, allocations: 144.6 kB / 382 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.007143, allocations: 0 / 382 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.759e-05/0.007161, allocations: 11.94 kB / 382.1 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.007162, allocations: 0 / 382.1 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.007168, allocations: 0 / 382.1 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.007171, allocations: 7.938 kB / 382.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.007171, allocations: 4 kB / 382.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.281e-05/0.007264, allocations: 116.5 kB / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.878e-06/0.007274, allocations: 7.953 kB / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.701e-05/0.007291, allocations: 8 kB / 382.2 MB, free: 14.47 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.004e-05/0.007311, allocations: 3.938 kB / 382.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.157e-05/0.007343, allocations: 7.984 kB / 382.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.338e-06/0.007352, allocations: 0 / 382.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.736e-05/0.007419, allocations: 168.2 kB / 382.4 MB, free: 14.29 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007419, allocations: 0 / 382.4 MB, free: 14.29 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001411/0.007561, allocations: 23.92 kB / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0008068/0.008367, allocations: 385.9 kB / 382.8 MB, free: 14.03 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001015/0.008469, allocations: 35.67 kB / 382.8 MB, free: 13.99 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.00847, allocations: 4.062 kB / 382.8 MB, free: 13.99 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.262e-05/0.008503, allocations: 27.61 kB / 382.8 MB, free: 13.96 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001867/0.008689, allocations: 35.91 kB / 382.9 MB, free: 13.92 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003056/0.008995, allocations: 198.1 kB / 383.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.414e-05/0.009029, allocations: 63.34 kB / 383.1 MB, free: 13.62 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.834e-05/0.009057, allocations: 8.484 kB / 383.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.536e-05/0.009083, allocations: 16.5 kB / 383.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of SimCode: time 7.91e-07/0.009084, allocations: 0 / 383.2 MB, free: 13.59 MB / 362.7 MB Notification: Performance of Templates: time 0.003254/0.01234, allocations: 1.648 MB / 384.8 MB, free: 11.97 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test37_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test37/Test37.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.1105747760739177]