Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.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.001478/0.001478, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001647/0.001647, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.588/1.588, allocations: 230.3 MB / 258 MB, free: 8.203 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.2364/0.2364, allocations: 46.93 MB / 361.4 MB, free: 4.387 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.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74") translateModel(ModelicaTest.Tables.CombiTimeTable.Test74,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74") [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.002396/0.002396, allocations: 80.14 kB / 0.4972 GB, free: 7.434 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4244/0.4268, allocations: 66.04 MB / 0.5617 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.003929/0.4307, allocations: 1.951 MB / 0.5636 GB, free: 2.531 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002334/0.4331, allocations: 1.15 MB / 0.5648 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001295/0.4332, allocations: 3.938 kB / 0.5648 GB, free: 1.371 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007248/0.4339, allocations: 251.4 kB / 0.565 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006005/0.4345, allocations: 231.2 kB / 0.5652 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003677/0.4349, allocations: 119.6 kB / 0.5653 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004396/0.4353, allocations: 283.2 kB / 0.5656 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001593/0.4355, allocations: 20.77 kB / 0.5656 GB, free: 496 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002243/0.4357, allocations: 143.5 kB / 0.5658 GB, free: 352 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002859/0.436, allocations: 207.4 kB / 0.566 GB, free: 144 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.397e-05/0.436, allocations: 8 kB / 0.566 GB, free: 136 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000175/0.4362, allocations: 71.91 kB / 0.566 GB, free: 64 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001268/0.4363, allocations: 63.7 kB / 0.5661 GB, free: 0 / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001248/0.4365, allocations: 107.2 kB / 0.5662 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00043/0.4369, allocations: 250.5 kB / 0.5664 GB, free: 15.65 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.4369, allocations: 0 / 0.5664 GB, free: 15.65 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.4369, allocations: 0 / 0.5664 GB, free: 15.65 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.4369, allocations: 0 / 0.5664 GB, free: 15.65 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.00103/0.4379, allocations: 0.5234 MB / 0.5669 GB, free: 15.09 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.438, allocations: 8.031 kB / 0.567 GB, free: 15.09 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.278e-05/0.4381, allocations: 32.75 kB / 0.567 GB, free: 15.05 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005556/0.4386, allocations: 244.9 kB / 0.5672 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.4386, allocations: 4.375 kB / 0.5672 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.028e-05/0.4387, allocations: 8.375 kB / 0.5672 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003008/0.439, allocations: 114.5 kB / 0.5673 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.439, allocations: 0 / 0.5673 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.879e-05/0.439, allocations: 4 kB / 0.5673 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.439, allocations: 4 kB / 0.5673 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001455/0.4392, allocations: 39.97 kB / 0.5674 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007584/0.4399, allocations: 463.8 kB / 0.5678 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004413/0.4404, allocations: 121.2 kB / 0.5679 GB, free: 13.97 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001045/0.4405, allocations: 41.83 kB / 0.568 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.49e-05/0.4405, allocations: 3.938 kB / 0.568 GB, free: 13.93 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002548/0.4408, allocations: 121 kB / 0.5681 GB, free: 13.79 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.293e-06/0.4408, allocations: 0 / 0.5681 GB, free: 13.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001479/0.4422, allocations: 0.5202 MB / 0.5686 GB, free: 13.26 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.175e-05/0.4423, allocations: 77.11 kB / 0.5687 GB, free: 13.17 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000604/0.4429, allocations: 0.4898 MB / 0.5692 GB, free: 12.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.355e-05/0.443, allocations: 33.7 kB / 0.5692 GB, free: 12.62 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001531/0.4431, allocations: 168.5 kB / 0.5694 GB, free: 12.45 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.015e-05/0.4432, allocations: 71.41 kB / 0.5694 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.466e-05/0.4433, allocations: 49.7 kB / 0.5695 GB, free: 12.33 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002019/0.4435, allocations: 346.8 kB / 0.5698 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001359/0.4436, allocations: 63.97 kB / 0.5699 GB, free: 11.92 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001745/0.4438, allocations: 92.22 kB / 0.5699 GB, free: 11.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003031/0.4441, allocations: 163.5 kB / 0.5701 GB, free: 11.64 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.4441, allocations: 0 / 0.5701 GB, free: 11.64 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004469/0.4445, allocations: 241.2 kB / 0.5703 GB, free: 11.4 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.4446, allocations: 6.344 kB / 0.5703 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.4446, allocations: 0 / 0.5703 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.635e-05/0.4446, allocations: 7.938 kB / 0.5703 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001537/0.4447, allocations: 43.98 kB / 0.5704 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.372e-05/0.4448, allocations: 7.922 kB / 0.5704 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.411e-05/0.4448, allocations: 16 kB / 0.5704 GB, free: 11.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.894e-05/0.4449, allocations: 8 kB / 0.5704 GB, free: 11.32 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0002604/0.4451, allocations: 174.3 kB / 0.5706 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.906e-05/0.4452, allocations: 35.77 kB / 0.5706 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005977/0.4458, allocations: 273.2 kB / 0.5709 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.4458, allocations: 0 / 0.5709 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.4458, allocations: 4 kB / 0.5709 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.4458, allocations: 4 kB / 0.5709 GB, free: 10.82 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001104/0.4469, allocations: 0.7106 MB / 0.5716 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.4469, allocations: 0 / 0.5716 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.858e-05/0.447, allocations: 31.92 kB / 0.5716 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.447, allocations: 4 kB / 0.5716 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.916e-05/0.447, allocations: 12.12 kB / 0.5716 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.447, allocations: 0 / 0.5716 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.447, allocations: 4 kB / 0.5716 GB, free: 9.996 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000561/0.4476, allocations: 433.3 kB / 0.572 GB, free: 9.547 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.868e-05/0.4476, allocations: 27.81 kB / 0.5721 GB, free: 9.52 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.568e-05/0.4477, allocations: 11.98 kB / 0.5721 GB, free: 9.508 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001351/0.4478, allocations: 4 kB / 0.5721 GB, free: 9.504 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.24e-05/0.4479, allocations: 23.91 kB / 0.5721 GB, free: 9.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.871e-05/0.4479, allocations: 15.94 kB / 0.5721 GB, free: 9.465 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004236/0.4483, allocations: 371.1 kB / 0.5725 GB, free: 9.105 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4483, allocations: 4 kB / 0.5725 GB, free: 9.102 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003658/0.4487, allocations: 51.92 kB / 0.5725 GB, free: 9.051 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002014/0.4507, allocations: 0.5089 MB / 0.573 GB, free: 8.719 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000412/0.4511, allocations: 147.8 kB / 0.5732 GB, free: 8.574 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.4511, allocations: 7.938 kB / 0.5732 GB, free: 8.566 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001627/0.4513, allocations: 72.03 kB / 0.5732 GB, free: 8.496 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005825/0.4519, allocations: 61.45 kB / 0.5733 GB, free: 8.438 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.453, allocations: 0.6018 MB / 0.5739 GB, free: 7.793 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005529/0.4535, allocations: 0.7831 MB / 0.5747 GB, free: 6.984 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001144/0.4537, allocations: 42.28 kB / 0.5747 GB, free: 6.945 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.535e-05/0.4537, allocations: 31.42 kB / 0.5747 GB, free: 6.914 MB / 414.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4537, allocations: 0 / 0.5747 GB, free: 6.914 MB / 414.1 MB Notification: Performance of Templates: time 0.008491/0.4622, allocations: 3.302 MB / 0.578 GB, free: 3.633 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test74/Test74.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test74.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: 5.639162407256663]