Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.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.001125/0.001125, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001718/0.002842, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001107/0.001107, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001398/0.002505, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.073/1.073, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1254/1.198, allocations: 53.66 MB / 243.3 MB, free: 15.57 MB / 250.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.3145/0.3145, allocations: 32.79 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04134/0.3559, allocations: 12.54 MB / 289.3 MB, free: 8.668 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.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60") translateModel(ModelicaTest.Tables.CombiTimeTable.Test60,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.417e-06/3.417e-06, allocations: 1.156 kB / 290.7 MB, free: 7.582 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.571e-05/3.913e-05, allocations: 2.312 kB / 290.7 MB, free: 7.578 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test60): time 0.003423/0.003462, allocations: 1.817 MB / 292.5 MB, free: 6.102 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002217/0.005679, allocations: 1.756 MB / 294.3 MB, free: 4.629 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.56e-05/0.005775, allocations: 3.938 kB / 294.3 MB, free: 4.625 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002295/0.006004, allocations: 35.83 kB / 294.3 MB, free: 4.59 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003092/0.006314, allocations: 103.3 kB / 294.4 MB, free: 4.488 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002199/0.006533, allocations: 75.67 kB / 294.5 MB, free: 4.414 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001895/0.006723, allocations: 107.6 kB / 294.6 MB, free: 4.309 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.006829, allocations: 12.67 kB / 294.6 MB, free: 4.297 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001441/0.006973, allocations: 83.81 kB / 294.7 MB, free: 4.215 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001241/0.007097, allocations: 39.83 kB / 294.7 MB, free: 4.176 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.971e-05/0.007117, allocations: 4 kB / 294.7 MB, free: 4.172 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002112/0.007328, allocations: 107.8 kB / 294.8 MB, free: 4.066 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.195e-05/0.00738, allocations: 19.94 kB / 294.8 MB, free: 4.047 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.67e-05/0.007417, allocations: 15.94 kB / 294.9 MB, free: 4.031 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002352/0.007652, allocations: 143.5 kB / 295 MB, free: 3.891 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.153e-05/0.007674, allocations: 0 / 295 MB, free: 3.891 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.007675, allocations: 0 / 295 MB, free: 3.891 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.844e-05/0.007693, allocations: 3.938 kB / 295 MB, free: 3.887 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.0006103/0.008303, allocations: 356.4 kB / 295.4 MB, free: 3.516 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.008341, allocations: 8.031 kB / 295.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.91e-05/0.00838, allocations: 4.938 kB / 295.4 MB, free: 3.504 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001911/0.008571, allocations: 142.2 kB / 295.5 MB, free: 3.34 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.008589, allocations: 4.375 kB / 295.5 MB, free: 3.336 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.072e-05/0.00861, allocations: 384 / 295.5 MB, free: 3.336 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001625/0.008772, allocations: 112.5 kB / 295.6 MB, free: 3.203 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.008783, allocations: 0 / 295.6 MB, free: 3.203 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.008794, allocations: 7.984 kB / 295.6 MB, free: 3.195 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.008799, allocations: 0 / 295.6 MB, free: 3.195 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.396e-05/0.008833, allocations: 14.83 kB / 295.6 MB, free: 3.18 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002506/0.009084, allocations: 162 kB / 295.8 MB, free: 3.004 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.009189, allocations: 89.27 kB / 295.9 MB, free: 2.906 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.421e-05/0.009213, allocations: 28.72 kB / 295.9 MB, free: 2.875 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.456e-05/0.009227, allocations: 7.938 kB / 295.9 MB, free: 2.867 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001122/0.00934, allocations: 62.17 kB / 296 MB, free: 2.793 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 9.41e-07/0.00934, allocations: 0 / 296 MB, free: 2.793 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003436/0.009684, allocations: 113.8 kB / 296.1 MB, free: 2.676 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.009719, allocations: 59.41 kB / 296.2 MB, free: 2.605 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.009832, allocations: 157.2 kB / 296.3 MB, free: 2.438 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.755e-05/0.00985, allocations: 25.7 kB / 296.3 MB, free: 2.406 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.565e-05/0.009895, allocations: 92.11 kB / 296.4 MB, free: 2.312 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.973e-05/0.009925, allocations: 35.72 kB / 296.5 MB, free: 2.277 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.214e-05/0.009967, allocations: 21.72 kB / 296.5 MB, free: 2.25 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.366e-05/0.01006, allocations: 326.8 kB / 296.8 MB, free: 1.922 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.77e-05/0.01008, allocations: 10.83 kB / 296.8 MB, free: 1.91 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.777e-05/0.01012, allocations: 56.2 kB / 296.9 MB, free: 1.84 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.693e-05/0.01016, allocations: 44.45 kB / 296.9 MB, free: 1.789 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.01016, allocations: 4.031 kB / 296.9 MB, free: 1.785 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.118e-05/0.01025, allocations: 72.44 kB / 297 MB, free: 1.707 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.01026, allocations: 4 kB / 297 MB, free: 1.703 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.01027, allocations: 0 / 297 MB, free: 1.703 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.01028, allocations: 4 kB / 297 MB, free: 1.699 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.896e-05/0.01035, allocations: 15.98 kB / 297 MB, free: 1.684 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.746e-06/0.01035, allocations: 0 / 297 MB, free: 1.684 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.9e-05/0.01038, allocations: 4 kB / 297 MB, free: 1.68 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.01038, allocations: 4 kB / 297 MB, free: 1.676 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 7.347e-05/0.01046, allocations: 132.6 kB / 297.1 MB, free: 1.535 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.118e-05/0.01047, allocations: 4 kB / 297.1 MB, free: 1.531 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001008/0.01057, allocations: 74.59 kB / 297.2 MB, free: 1.453 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.01057, allocations: 0 / 297.2 MB, free: 1.453 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.01057, allocations: 0 / 297.2 MB, free: 1.453 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.01058, allocations: 4 kB / 297.2 MB, free: 1.449 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002319/0.01081, allocations: 295.4 kB / 297.5 MB, free: 1.133 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.01081, allocations: 0 / 297.5 MB, free: 1.133 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.997e-05/0.01084, allocations: 19.92 kB / 297.5 MB, free: 1.113 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.635e-05/0.01086, allocations: 7.953 kB / 297.5 MB, free: 1.105 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.01086, allocations: 4.031 kB / 297.5 MB, free: 1.102 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.082e-06/0.01087, allocations: 0 / 297.5 MB, free: 1.102 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.01087, allocations: 7.984 kB / 297.5 MB, free: 1.094 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.01087, allocations: 3.938 kB / 297.6 MB, free: 1.09 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001183/0.01099, allocations: 215 kB / 297.8 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.503e-05/0.01101, allocations: 0 / 297.8 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.067e-05/0.01105, allocations: 4 kB / 297.8 MB, free: 0.8555 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.11e-05/0.01108, allocations: 11.98 kB / 297.8 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.01109, allocations: 0 / 297.8 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.164e-05/0.01113, allocations: 46.88 kB / 297.8 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01113, allocations: 4 kB / 297.8 MB, free: 0.793 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002061/0.01134, allocations: 55.8 kB / 297.9 MB, free: 0.7383 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.001759/0.0131, allocations: 0.7706 MB / 298.7 MB, free: 392 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001162/0.01321, allocations: 40.78 kB / 298.7 MB, free: 348 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.848e-06/0.01322, allocations: 4 kB / 298.7 MB, free: 344 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.169e-05/0.01326, allocations: 28.77 kB / 298.7 MB, free: 312 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001905/0.01345, allocations: 53.19 kB / 298.8 MB, free: 264 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004686/0.01391, allocations: 199.6 kB / 299 MB, free: 32 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.828e-05/0.01397, allocations: 71.28 kB / 299 MB, free: 15.94 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.003e-05/0.01402, allocations: 21.39 kB / 299.1 MB, free: 15.92 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.225e-05/0.01411, allocations: 71.36 kB / 299.1 MB, free: 15.85 MB / 298.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01411, allocations: 0 / 299.1 MB, free: 15.85 MB / 298.7 MB Notification: Performance of Templates: time 0.004721/0.01883, allocations: 2.81 MB / 301.9 MB, free: 13.08 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test60_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test60/Test60.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.231588378548622]