Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.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.001833/0.001833, 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.00246/0.00246, allocations: 211.9 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.52/1.52, allocations: 230.3 MB / 258 MB, free: 8.195 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.2491/0.2491, allocations: 46.94 MB / 361.4 MB, free: 4.375 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.Test78,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.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,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.Test78") [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.002435/0.002435, allocations: 83.84 kB / 0.4972 GB, free: 7.422 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4231/0.4255, allocations: 66.04 MB / 0.5617 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.004781/0.4303, allocations: 1.951 MB / 0.5636 GB, free: 2.539 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002539/0.4328, allocations: 1.15 MB / 0.5648 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002413/0.4331, allocations: 7.938 kB / 0.5648 GB, free: 1.375 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000656/0.4337, allocations: 255.3 kB / 0.565 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007139/0.4345, allocations: 231.2 kB / 0.5652 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000461/0.4349, allocations: 119.6 kB / 0.5653 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005549/0.4355, allocations: 275.3 kB / 0.5656 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001489/0.4356, allocations: 21.61 kB / 0.5656 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003615/0.436, allocations: 143.5 kB / 0.5658 GB, free: 360 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003705/0.4364, allocations: 203.4 kB / 0.566 GB, free: 156 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.447e-05/0.4364, allocations: 8 kB / 0.566 GB, free: 148 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001837/0.4366, allocations: 71.95 kB / 0.566 GB, free: 76 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.4367, allocations: 63.7 kB / 0.5661 GB, free: 12 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001551/0.4369, allocations: 103.2 kB / 0.5662 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004381/0.4373, allocations: 253.6 kB / 0.5664 GB, free: 15.66 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.4373, allocations: 0 / 0.5664 GB, free: 15.66 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.4373, allocations: 4 kB / 0.5664 GB, free: 15.66 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.224e-06/0.4373, allocations: 0 / 0.5664 GB, free: 15.66 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.0008924/0.4382, allocations: 0.5195 MB / 0.5669 GB, free: 15.11 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.4382, allocations: 12.03 kB / 0.567 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.865e-05/0.4383, allocations: 28.75 kB / 0.567 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004589/0.4388, allocations: 244.9 kB / 0.5672 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.4388, allocations: 4.375 kB / 0.5672 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.459e-05/0.4388, allocations: 8.375 kB / 0.5672 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002723/0.4391, allocations: 111.6 kB / 0.5673 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.4391, allocations: 4 kB / 0.5673 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.4391, allocations: 4 kB / 0.5673 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.4391, allocations: 0 / 0.5673 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001426/0.4393, allocations: 43.97 kB / 0.5674 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006407/0.4399, allocations: 463.7 kB / 0.5678 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003936/0.4403, allocations: 113.2 kB / 0.5679 GB, free: 13.99 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/0.4404, allocations: 45.81 kB / 0.568 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.489e-05/0.4405, allocations: 4 kB / 0.568 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002432/0.4407, allocations: 128.5 kB / 0.5681 GB, free: 13.8 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.513e-06/0.4407, allocations: 0 / 0.5681 GB, free: 13.8 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001441/0.4421, allocations: 0.5163 MB / 0.5686 GB, free: 13.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.483e-05/0.4422, allocations: 81.11 kB / 0.5687 GB, free: 13.18 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000565/0.4428, allocations: 0.4898 MB / 0.5692 GB, free: 12.67 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/0.4428, allocations: 33.7 kB / 0.5692 GB, free: 12.63 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.4429, allocations: 168.4 kB / 0.5694 GB, free: 12.46 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.396e-05/0.443, allocations: 75.41 kB / 0.5694 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.397e-05/0.4431, allocations: 49.7 kB / 0.5695 GB, free: 12.33 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.4432, allocations: 346.8 kB / 0.5698 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/0.4434, allocations: 51.98 kB / 0.5699 GB, free: 11.93 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001556/0.4435, allocations: 96.2 kB / 0.5699 GB, free: 11.83 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002901/0.4438, allocations: 163.5 kB / 0.5701 GB, free: 11.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.4438, allocations: 0 / 0.5701 GB, free: 11.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004191/0.4442, allocations: 241.2 kB / 0.5703 GB, free: 11.41 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.4442, allocations: 6.5 kB / 0.5703 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.4443, allocations: 4 kB / 0.5703 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.4443, allocations: 3.938 kB / 0.5703 GB, free: 11.4 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.4444, allocations: 47.92 kB / 0.5704 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.4444, allocations: 0 / 0.5704 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.323e-05/0.4445, allocations: 16.05 kB / 0.5704 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/0.4445, allocations: 8 kB / 0.5704 GB, free: 11.33 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.0001839/0.4447, allocations: 182.2 kB / 0.5706 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.502e-05/0.4448, allocations: 35.77 kB / 0.5706 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005398/0.4453, allocations: 269.3 kB / 0.5709 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.4453, allocations: 4 kB / 0.5709 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.4453, allocations: 3.938 kB / 0.5709 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.4453, allocations: 4 kB / 0.5709 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.4463, allocations: 0.7068 MB / 0.5716 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.757e-06/0.4463, allocations: 4 kB / 0.5716 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.577e-05/0.4464, allocations: 27.92 kB / 0.5716 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.4464, allocations: 4.125 kB / 0.5716 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.893e-05/0.4465, allocations: 12 kB / 0.5716 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.4465, allocations: 4 kB / 0.5716 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.4465, allocations: 0 / 0.5716 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005486/0.447, allocations: 437.5 kB / 0.572 GB, free: 9.555 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.53e-05/0.4471, allocations: 31.81 kB / 0.5721 GB, free: 9.523 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.864e-05/0.4471, allocations: 8 kB / 0.5721 GB, free: 9.516 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.4473, allocations: 11.98 kB / 0.5721 GB, free: 9.504 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.029e-05/0.4473, allocations: 23.91 kB / 0.5721 GB, free: 9.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.703e-05/0.4473, allocations: 15.94 kB / 0.5721 GB, free: 9.465 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003961/0.4477, allocations: 371.1 kB / 0.5725 GB, free: 9.105 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4477, allocations: 4 kB / 0.5725 GB, free: 9.102 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003785/0.4481, 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.002042/0.4502, allocations: 0.4982 MB / 0.573 GB, free: 8.727 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003869/0.4506, allocations: 147.8 kB / 0.5732 GB, free: 8.582 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.4506, allocations: 3.938 kB / 0.5732 GB, free: 8.578 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001648/0.4507, allocations: 76.16 kB / 0.5732 GB, free: 8.504 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005906/0.4513, allocations: 71.91 kB / 0.5733 GB, free: 8.441 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/0.4524, allocations: 0.598 MB / 0.5739 GB, free: 7.801 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004981/0.4529, allocations: 0.7831 MB / 0.5747 GB, free: 6.992 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001096/0.453, allocations: 41.92 kB / 0.5747 GB, free: 6.953 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.656e-05/0.4531, allocations: 27.42 kB / 0.5747 GB, free: 6.926 MB / 414.1 MB Notification: Performance of SimCode: time 1.123e-06/0.4531, allocations: 0 / 0.5747 GB, free: 6.926 MB / 414.1 MB Notification: Performance of Templates: time 0.008523/0.4616, allocations: 3.301 MB / 0.578 GB, free: 3.645 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.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.59661232214421]