Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00596/0.00596, allocations: 109.7 kB / 21.98 MB, free: 5.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00146/0.00146, allocations: 220.6 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.438/1.438, allocations: 230.5 MB / 258.9 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2467/0.2467, allocations: 46.93 MB / 362.3 MB, free: 4.215 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002327/0.002327, allocations: 83.86 kB / 0.4983 GB, free: 7.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3611/0.3634, allocations: 66.07 MB / 0.5628 GB, free: 4.246 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003395/0.3668, allocations: 1.772 MB / 0.5645 GB, free: 2.461 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001896/0.3687, allocations: 1.06 MB / 0.5656 GB, free: 1.395 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.3688, allocations: 7.938 kB / 0.5656 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003734/0.3692, allocations: 95.67 kB / 0.5657 GB, free: 1.293 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003621/0.3696, allocations: 135.5 kB / 0.5658 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002136/0.3698, allocations: 79.72 kB / 0.5659 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002232/0.37, allocations: 123.6 kB / 0.566 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.3701, allocations: 19.95 kB / 0.566 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.3702, allocations: 55.78 kB / 0.5661 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000132/0.3704, allocations: 71.73 kB / 0.5661 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.3704, allocations: 4 kB / 0.5661 GB, free: 0.8125 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001367/0.3705, allocations: 63.97 kB / 0.5662 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.407e-05/0.3706, allocations: 35.84 kB / 0.5662 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.237e-05/0.3706, allocations: 39.69 kB / 0.5663 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002663/0.3709, allocations: 145.8 kB / 0.5664 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3709, allocations: 0 / 0.5664 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3709, allocations: 3.938 kB / 0.5664 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.3709, allocations: 0 / 0.5664 GB, free: 0.5352 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006891/0.3716, allocations: 385.3 kB / 0.5668 GB, free: 132 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.449e-05/0.3716, allocations: 8.031 kB / 0.5668 GB, free: 124 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.213e-05/0.3717, allocations: 16.84 kB / 0.5668 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003214/0.372, allocations: 178.3 kB / 0.567 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.372, allocations: 384 / 0.567 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.608e-05/0.3721, allocations: 8.328 kB / 0.567 GB, free: 15.9 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.3722, allocations: 57.98 kB / 0.567 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.681e-05/0.3723, allocations: 4 kB / 0.567 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.3723, allocations: 4 kB / 0.567 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-06/0.3723, allocations: 0 / 0.567 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.415e-05/0.3724, allocations: 19.98 kB / 0.5671 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004487/0.3728, allocations: 283.8 kB / 0.5673 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002488/0.3731, allocations: 54.56 kB / 0.5674 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.858e-05/0.3731, allocations: 20.97 kB / 0.5674 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.3731, allocations: 0 / 0.5674 GB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001639/0.3733, allocations: 75.33 kB / 0.5675 GB, free: 15.32 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.472e-06/0.3733, allocations: 0 / 0.5675 GB, free: 15.32 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007973/0.3741, allocations: 261.6 kB / 0.5677 GB, free: 15.05 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.924e-05/0.3741, allocations: 51.41 kB / 0.5678 GB, free: 14.99 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000272/0.3744, allocations: 242.8 kB / 0.568 GB, free: 14.74 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.126e-05/0.3745, allocations: 29.7 kB / 0.568 GB, free: 14.7 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.245e-05/0.3745, allocations: 112.1 kB / 0.5681 GB, free: 14.59 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.087e-05/0.3746, allocations: 35.69 kB / 0.5682 GB, free: 14.55 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.727e-05/0.3746, allocations: 37.66 kB / 0.5682 GB, free: 14.51 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.3748, allocations: 334.8 kB / 0.5685 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.361e-05/0.3749, allocations: 24 kB / 0.5686 GB, free: 14.15 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.658e-05/0.375, allocations: 45.69 kB / 0.5686 GB, free: 14.1 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001522/0.3751, allocations: 77.66 kB / 0.5687 GB, free: 14.02 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.3751, allocations: 4 kB / 0.5687 GB, free: 14.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002349/0.3753, allocations: 133.5 kB / 0.5688 GB, free: 13.88 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.3754, allocations: 8 kB / 0.5688 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.3754, allocations: 3.938 kB / 0.5688 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.3754, allocations: 0 / 0.5688 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.141e-05/0.3755, allocations: 19.98 kB / 0.5688 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.3755, allocations: 4 kB / 0.5688 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.614e-05/0.3755, allocations: 3.938 kB / 0.5688 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.3755, allocations: 8 kB / 0.5688 GB, free: 13.83 MB / 414.1 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 (13): * Single equations (assignments): 13 * 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 0.0001385/0.3757, allocations: 148.8 kB / 0.569 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.195e-05/0.3757, allocations: 19.89 kB / 0.569 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003214/0.376, allocations: 142.9 kB / 0.5691 GB, free: 13.51 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.603e-06/0.376, allocations: 4 kB / 0.5691 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.376, allocations: 0 / 0.5691 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.376, allocations: 3.938 kB / 0.5692 GB, free: 13.5 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005935/0.3766, allocations: 431.1 kB / 0.5696 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.3766, allocations: 0 / 0.5696 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.745e-05/0.3767, allocations: 15.98 kB / 0.5696 GB, free: 13.01 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.153e-06/0.3767, allocations: 3.938 kB / 0.5696 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.3767, allocations: 4 kB / 0.5696 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.3767, allocations: 0 / 0.5696 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.3767, allocations: 4 kB / 0.5696 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003036/0.377, allocations: 237.1 kB / 0.5698 GB, free: 12.74 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.028e-05/0.377, allocations: 19.84 kB / 0.5698 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.724e-05/0.3771, allocations: 4 kB / 0.5698 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.238e-05/0.3771, allocations: 0 / 0.5698 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.095e-05/0.3772, allocations: 11.98 kB / 0.5698 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-05/0.3772, allocations: 8 kB / 0.5699 GB, free: 12.7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001989/0.3774, allocations: 188.2 kB / 0.57 GB, free: 12.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3774, allocations: 96 / 0.57 GB, free: 12.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002787/0.3777, allocations: 39.86 kB / 0.5701 GB, free: 12.48 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001961/0.3796, allocations: 0.4998 MB / 0.5706 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000235/0.3799, allocations: 79.84 kB / 0.5706 GB, free: 12.08 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3799, allocations: 0 / 0.5706 GB, free: 12.08 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.941e-05/0.38, allocations: 31.92 kB / 0.5707 GB, free: 12.05 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003971/0.3804, allocations: 43.86 kB / 0.5707 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006732/0.381, allocations: 330.3 kB / 0.571 GB, free: 11.64 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003998/0.3814, allocations: 0.7197 MB / 0.5717 GB, free: 10.89 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.917e-05/0.3815, allocations: 19.44 kB / 0.5717 GB, free: 10.88 MB / 414.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3815, allocations: 192 / 0.5717 GB, free: 10.88 MB / 414.1 MB Notification: Performance of Templates: time 0.005042/0.3865, allocations: 2.308 MB / 0.574 GB, free: 8.578 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.904835927998647]