Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test89.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.001543/0.001543, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001695/0.001695, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.544/1.544, allocations: 230.3 MB / 258 MB, free: 8.223 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.248/0.248, allocations: 46.95 MB / 361.4 MB, free: 4.387 MB / 286.1 MB " [Timeout remaining time 179] 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.Test89,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test89") translateModel(ModelicaTest.Tables.CombiTimeTable.Test89,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test89") [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.00397/0.00397, allocations: 79.88 kB / 0.4972 GB, free: 7.445 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4464/0.4503, allocations: 66.04 MB / 0.5617 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test89): time 0.00367/0.454, allocations: 1.756 MB / 0.5634 GB, free: 2.719 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002956/0.457, allocations: 1.734 MB / 0.5651 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.774e-05/0.4571, allocations: 3.938 kB / 0.5651 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003232/0.4574, allocations: 39.7 kB / 0.5652 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003712/0.4578, allocations: 103.6 kB / 0.5653 GB, free: 0.832 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002385/0.458, allocations: 75.67 kB / 0.5653 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002169/0.4582, allocations: 107.7 kB / 0.5654 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001194/0.4583, allocations: 11.98 kB / 0.5655 GB, free: 0.6406 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.4584, allocations: 47.73 kB / 0.5655 GB, free: 0.5938 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001757/0.4586, allocations: 43.83 kB / 0.5655 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.178e-05/0.4586, allocations: 4 kB / 0.5655 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002172/0.4589, allocations: 119.9 kB / 0.5657 GB, free: 440 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.906e-05/0.4589, allocations: 15.92 kB / 0.5657 GB, free: 424 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.601e-05/0.459, allocations: 39.78 kB / 0.5657 GB, free: 384 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003246/0.4593, allocations: 169.9 kB / 0.5659 GB, free: 220 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.4593, allocations: 3.938 kB / 0.5659 GB, free: 216 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4593, allocations: 3.938 kB / 0.5659 GB, free: 212 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.4593, allocations: 4 kB / 0.5659 GB, free: 208 kB / 398.1 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.000728/0.46, allocations: 345.5 kB / 0.5662 GB, free: 15.84 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.4601, allocations: 8.031 kB / 0.5662 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.325e-05/0.4602, allocations: 16.84 kB / 0.5662 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003385/0.4605, allocations: 146.5 kB / 0.5664 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.4605, allocations: 8.359 kB / 0.5664 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.86e-05/0.4605, allocations: 8.125 kB / 0.5664 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002149/0.4608, allocations: 79.33 kB / 0.5665 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.4608, allocations: 0 / 0.5665 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.4608, allocations: 0 / 0.5665 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.82e-06/0.4608, allocations: 3.938 kB / 0.5665 GB, free: 15.54 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.068e-05/0.4609, allocations: 19.98 kB / 0.5665 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000456/0.4613, allocations: 256 kB / 0.5667 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001989/0.4615, allocations: 66.61 kB / 0.5668 GB, free: 15.15 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.767e-05/0.4616, allocations: 20.84 kB / 0.5668 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.216e-05/0.4616, allocations: 0 / 0.5668 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002076/0.4618, allocations: 63.39 kB / 0.5669 GB, free: 15.05 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.933e-06/0.4618, allocations: 0 / 0.5669 GB, free: 15.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006361/0.4625, allocations: 173.3 kB / 0.567 GB, free: 14.88 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.585e-05/0.4626, allocations: 85.09 kB / 0.5671 GB, free: 14.78 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002092/0.4628, allocations: 162.5 kB / 0.5673 GB, free: 14.61 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.4628, allocations: 25.7 kB / 0.5673 GB, free: 14.57 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.098e-05/0.4629, allocations: 96.14 kB / 0.5674 GB, free: 14.48 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.055e-05/0.4629, allocations: 35.67 kB / 0.5674 GB, free: 14.44 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.776e-05/0.463, allocations: 21.72 kB / 0.5675 GB, free: 14.41 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.4631, allocations: 326.8 kB / 0.5678 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.487e-05/0.4632, allocations: 27.98 kB / 0.5678 GB, free: 14.06 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.691e-05/0.4633, allocations: 42.5 kB / 0.5678 GB, free: 14.01 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001314/0.4634, allocations: 65.69 kB / 0.5679 GB, free: 13.94 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.4634, allocations: 0 / 0.5679 GB, free: 13.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002092/0.4636, allocations: 93.58 kB / 0.568 GB, free: 13.84 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.4636, allocations: 4 kB / 0.568 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.4636, allocations: 8.062 kB / 0.568 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.4637, allocations: 0 / 0.568 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.905e-05/0.4638, allocations: 15.98 kB / 0.568 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.4638, allocations: 0 / 0.568 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.707e-05/0.4638, allocations: 11.94 kB / 0.568 GB, free: 13.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.4638, allocations: 4 kB / 0.568 GB, free: 13.8 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 (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 0.0001324/0.464, allocations: 121.8 kB / 0.5681 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.968e-05/0.464, allocations: 11.95 kB / 0.5682 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002857/0.4643, allocations: 114.9 kB / 0.5683 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.4643, allocations: 0 / 0.5683 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.4643, allocations: 3.984 kB / 0.5683 GB, free: 13.53 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.4643, allocations: 7.922 kB / 0.5683 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005473/0.4649, allocations: 370.3 kB / 0.5686 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.4649, allocations: 7.938 kB / 0.5686 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.034e-05/0.4649, allocations: 4 kB / 0.5686 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/0.4649, allocations: 4 kB / 0.5686 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.4649, allocations: 3.969 kB / 0.5686 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.4649, allocations: 4 kB / 0.5686 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.4649, allocations: 7.938 kB / 0.5687 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003019/0.4652, allocations: 196.3 kB / 0.5688 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.797e-05/0.4652, allocations: 7.938 kB / 0.5689 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.864e-05/0.4653, allocations: 11.94 kB / 0.5689 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.289e-05/0.4654, allocations: 0 / 0.5689 GB, free: 12.85 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.817e-05/0.4654, allocations: 15.97 kB / 0.5689 GB, free: 12.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.969e-05/0.4654, allocations: 4 kB / 0.5689 GB, free: 12.83 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001457/0.4656, allocations: 127.9 kB / 0.569 GB, free: 12.7 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4656, allocations: 0 / 0.569 GB, free: 12.7 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003268/0.4659, allocations: 52.05 kB / 0.5691 GB, free: 12.65 MB / 414.1 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 (8): * Single equations (assignments): 6 * 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.002263/0.4682, allocations: 0.5448 MB / 0.5696 GB, free: 12.29 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002455/0.4684, allocations: 55.97 kB / 0.5696 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/0.4684, allocations: 4 kB / 0.5696 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.662e-05/0.4685, allocations: 23.94 kB / 0.5697 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003692/0.4689, allocations: 29.92 kB / 0.5697 GB, free: 12.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005845/0.4694, allocations: 210.8 kB / 0.5699 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004714/0.4699, allocations: 0.6963 MB / 0.5706 GB, free: 11.22 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.753e-05/0.47, allocations: 17.28 kB / 0.5706 GB, free: 11.2 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.19e-05/0.4701, allocations: 27.36 kB / 0.5706 GB, free: 11.18 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.4701, allocations: 0 / 0.5706 GB, free: 11.18 MB / 414.1 MB Notification: Performance of Templates: time 0.006695/0.4768, allocations: 2.396 MB / 0.573 GB, free: 8.797 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test89.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test89.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test89.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test89.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test89 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test89.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test89_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test89/Test89.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test89.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.550123585388064]