Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.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.001546/0.001546, allocations: 110.4 kB / 21.17 MB, free: 0.7852 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.002061/0.002061, allocations: 217.4 kB / 24.47 MB, free: 4.359 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.632/1.632, allocations: 230.2 MB / 257.8 MB, free: 8.496 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.2415/0.2415, allocations: 46.88 MB / 361.1 MB, free: 4.641 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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65") [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.002393/0.002393, allocations: 87.86 kB / 0.4968 GB, free: 7.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4852/0.4876, allocations: 65.98 MB / 0.5613 GB, free: 5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.004844/0.4925, allocations: 1.704 MB / 0.5629 GB, free: 3.285 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002531/0.495, allocations: 1.029 MB / 0.5639 GB, free: 2.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001513/0.4952, allocations: 0 / 0.5639 GB, free: 2.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005107/0.4957, allocations: 83.7 kB / 0.564 GB, free: 2.168 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006173/0.4963, allocations: 115.6 kB / 0.5641 GB, free: 2.055 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003634/0.4967, allocations: 75.67 kB / 0.5642 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003382/0.497, allocations: 111.7 kB / 0.5643 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.625e-05/0.4971, allocations: 4.234 kB / 0.5643 GB, free: 1.867 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001847/0.4972, allocations: 55.75 kB / 0.5644 GB, free: 1.812 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001668/0.4974, allocations: 55.77 kB / 0.5644 GB, free: 1.758 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.506e-05/0.4974, allocations: 4 kB / 0.5644 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001485/0.4976, allocations: 35.97 kB / 0.5645 GB, free: 1.719 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.962e-05/0.4977, allocations: 27.86 kB / 0.5645 GB, free: 1.691 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.504e-05/0.4978, allocations: 31.75 kB / 0.5645 GB, free: 1.66 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003357/0.4981, allocations: 110.2 kB / 0.5646 GB, free: 1.555 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.4981, allocations: 4 kB / 0.5646 GB, free: 1.551 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.4981, allocations: 0 / 0.5646 GB, free: 1.551 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.766e-06/0.4981, allocations: 0 / 0.5646 GB, free: 1.551 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0009656/0.4991, allocations: 426.6 kB / 0.565 GB, free: 1.086 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.472e-05/0.4991, allocations: 12.03 kB / 0.565 GB, free: 1.074 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.199e-05/0.4992, allocations: 12.84 kB / 0.5651 GB, free: 1.062 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005062/0.4997, allocations: 224 kB / 0.5653 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.18e-05/0.4997, allocations: 384 / 0.5653 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.4998, allocations: 8.375 kB / 0.5653 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001947/0.5, allocations: 49.98 kB / 0.5653 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.5, allocations: 0 / 0.5653 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.693e-05/0.5, allocations: 4 kB / 0.5653 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/0.5, allocations: 0 / 0.5653 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.039e-05/0.5001, allocations: 15.98 kB / 0.5653 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004426/0.5005, allocations: 181.7 kB / 0.5655 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000207/0.5007, allocations: 58.55 kB / 0.5656 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.973e-05/0.5008, allocations: 20.84 kB / 0.5656 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.692e-05/0.5008, allocations: 0 / 0.5656 GB, free: 416 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002196/0.501, allocations: 67.33 kB / 0.5657 GB, free: 336 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 2.304e-06/0.501, allocations: 0 / 0.5657 GB, free: 336 kB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004235/0.5015, allocations: 105.5 kB / 0.5658 GB, free: 224 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.045e-05/0.5015, allocations: 55.41 kB / 0.5658 GB, free: 156 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003028/0.5018, allocations: 219.5 kB / 0.566 GB, free: 15.92 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.589e-05/0.5018, allocations: 29.69 kB / 0.566 GB, free: 15.89 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.223e-05/0.5019, allocations: 104.1 kB / 0.5661 GB, free: 15.78 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.906e-05/0.502, allocations: 15.94 kB / 0.5662 GB, free: 15.77 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.256e-05/0.502, allocations: 13.72 kB / 0.5662 GB, free: 15.75 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001868/0.5022, allocations: 326.8 kB / 0.5665 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.033e-05/0.5023, allocations: 15.98 kB / 0.5665 GB, free: 15.4 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.973e-05/0.5023, allocations: 29.72 kB / 0.5665 GB, free: 15.37 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001203/0.5025, allocations: 49.58 kB / 0.5666 GB, free: 15.31 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.5025, allocations: 256 / 0.5666 GB, free: 15.31 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002038/0.5027, allocations: 89.53 kB / 0.5667 GB, free: 15.22 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.5027, allocations: 4 kB / 0.5667 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.922e-06/0.5027, allocations: 0 / 0.5667 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.5e-05/0.5027, allocations: 8.016 kB / 0.5667 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.375e-05/0.5028, allocations: 15.94 kB / 0.5667 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.5028, allocations: 0 / 0.5667 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.525e-05/0.5029, allocations: 4 kB / 0.5667 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/0.5029, allocations: 4 kB / 0.5667 GB, free: 15.18 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 (7): * Single equations (assignments): 7 * 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.0001425/0.503, allocations: 129.8 kB / 0.5668 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.459e-05/0.5031, allocations: 15.84 kB / 0.5668 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002271/0.5033, allocations: 86.67 kB / 0.5669 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/0.5033, allocations: 3.984 kB / 0.5669 GB, free: 14.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.5033, allocations: 8 kB / 0.5669 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.5033, allocations: 0 / 0.5669 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000206/0.5035, allocations: 193.6 kB / 0.5671 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.5035, allocations: 0 / 0.5671 GB, free: 14.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.983e-05/0.5035, allocations: 11.92 kB / 0.5671 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.5035, allocations: 0 / 0.5671 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.5036, allocations: 0 / 0.5671 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.5036, allocations: 4 kB / 0.5671 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.5036, allocations: 0 / 0.5671 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002183/0.5038, allocations: 113 kB / 0.5672 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.49e-05/0.5039, allocations: 92.95 kB / 0.5673 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.342e-05/0.5039, allocations: 0 / 0.5673 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.886e-05/0.5039, allocations: 4.188 kB / 0.5673 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.089e-05/0.504, allocations: 3.984 kB / 0.5673 GB, free: 14.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.898e-05/0.504, allocations: 8 kB / 0.5673 GB, free: 14.41 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002652/0.5042, allocations: 165.2 kB / 0.5675 GB, free: 14.25 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5042, allocations: 0 / 0.5675 GB, free: 14.25 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002381/0.5045, allocations: 23.98 kB / 0.5675 GB, free: 14.23 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 3 * 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.001653/0.5061, allocations: 411.2 kB / 0.5679 GB, free: 13.97 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001919/0.5063, allocations: 35.98 kB / 0.5679 GB, free: 13.93 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.5063, allocations: 0 / 0.5679 GB, free: 13.93 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.058e-05/0.5064, allocations: 15.94 kB / 0.568 GB, free: 13.92 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003248/0.5067, allocations: 37.72 kB / 0.568 GB, free: 13.88 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000678/0.5074, allocations: 238.6 kB / 0.5682 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005449/0.5079, allocations: 0.701 MB / 0.5689 GB, free: 12.89 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.926e-05/0.508, allocations: 24.52 kB / 0.5689 GB, free: 12.87 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.246e-05/0.5081, allocations: 15.44 kB / 0.569 GB, free: 12.86 MB / 414.1 MB Notification: Performance of SimCode: time 6.11e-07/0.5081, allocations: 0 / 0.569 GB, free: 12.86 MB / 414.1 MB Notification: Performance of Templates: time 0.00673/0.5148, allocations: 1.537 MB / 0.5705 GB, free: 11.33 MB / 414.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.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.603107190225273]