Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.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.001969/0.001969, allocations: 112.4 kB / 21.17 MB, free: 0.6172 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.002178/0.002178, allocations: 205.6 kB / 24.46 MB, free: 4.023 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.585/1.585, allocations: 230.2 MB / 257.8 MB, free: 8.492 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.258/0.258, allocations: 46.89 MB / 361.1 MB, free: 4.617 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.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36") [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.002469/0.002469, allocations: 83.86 kB / 0.4969 GB, free: 7.703 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4576/0.4601, allocations: 65.98 MB / 0.5613 GB, free: 5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.003664/0.4638, allocations: 1.772 MB / 0.563 GB, free: 3.215 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001964/0.4657, allocations: 1.045 MB / 0.564 GB, free: 2.164 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.722e-05/0.4658, allocations: 3.938 kB / 0.564 GB, free: 2.16 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003684/0.4662, allocations: 91.69 kB / 0.5641 GB, free: 2.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003782/0.4666, allocations: 119.6 kB / 0.5643 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002292/0.4668, allocations: 83.66 kB / 0.5643 GB, free: 1.871 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002286/0.467, allocations: 119.7 kB / 0.5644 GB, free: 1.754 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.4671, allocations: 11.98 kB / 0.5645 GB, free: 1.742 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.4672, allocations: 59.77 kB / 0.5645 GB, free: 1.684 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.4674, allocations: 71.73 kB / 0.5646 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.4674, allocations: 7.938 kB / 0.5646 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000135/0.4675, allocations: 63.97 kB / 0.5647 GB, free: 1.543 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.148e-05/0.4676, allocations: 23.92 kB / 0.5647 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.394e-05/0.4677, allocations: 43.67 kB / 0.5647 GB, free: 1.477 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000297/0.468, allocations: 150.2 kB / 0.5649 GB, free: 1.332 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.468, allocations: 0 / 0.5649 GB, free: 1.332 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.468, allocations: 0 / 0.5649 GB, free: 1.332 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.468, allocations: 0 / 0.5649 GB, free: 1.332 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.0007509/0.4687, allocations: 454.4 kB / 0.5653 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.4688, allocations: 8.031 kB / 0.5653 GB, free: 0.832 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.507e-05/0.4689, allocations: 16.84 kB / 0.5653 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004021/0.4693, allocations: 224.9 kB / 0.5655 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.4693, allocations: 384 / 0.5655 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.266e-05/0.4693, allocations: 8.375 kB / 0.5655 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001967/0.4695, allocations: 61.92 kB / 0.5656 GB, free: 492 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.4695, allocations: 4 kB / 0.5656 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.4695, allocations: 3.938 kB / 0.5656 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.4695, allocations: 0 / 0.5656 GB, free: 484 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.279e-05/0.4696, allocations: 23.97 kB / 0.5656 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005404/0.4702, allocations: 308.8 kB / 0.5659 GB, free: 100 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002851/0.4705, allocations: 62.48 kB / 0.566 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.276e-05/0.4705, allocations: 20.98 kB / 0.566 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.4705, allocations: 0 / 0.566 GB, free: 4 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002129/0.4708, allocations: 75.44 kB / 0.5661 GB, free: 15.92 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.422e-06/0.4708, allocations: 4 kB / 0.5661 GB, free: 15.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008408/0.4716, allocations: 233.3 kB / 0.5663 GB, free: 15.68 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.958e-05/0.4717, allocations: 55.41 kB / 0.5664 GB, free: 15.61 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003082/0.472, allocations: 235 kB / 0.5666 GB, free: 15.38 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.422e-05/0.472, allocations: 25.7 kB / 0.5666 GB, free: 15.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.4721, allocations: 120 kB / 0.5667 GB, free: 15.22 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001497/0.4722, allocations: 31.73 kB / 0.5667 GB, free: 15.19 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.496e-05/0.4723, allocations: 33.7 kB / 0.5668 GB, free: 15.15 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001837/0.4725, allocations: 326.8 kB / 0.5671 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.612e-05/0.4726, allocations: 35.92 kB / 0.5671 GB, free: 14.79 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.587e-05/0.4726, allocations: 45.7 kB / 0.5672 GB, free: 14.74 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001651/0.4728, allocations: 85.69 kB / 0.5672 GB, free: 14.65 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.4728, allocations: 0 / 0.5672 GB, free: 14.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002389/0.473, allocations: 129.5 kB / 0.5674 GB, free: 14.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.4731, allocations: 4 kB / 0.5674 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.4731, allocations: 0 / 0.5674 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.4731, allocations: 4 kB / 0.5674 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.007e-05/0.4732, allocations: 19.98 kB / 0.5674 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.692e-06/0.4732, allocations: 0 / 0.5674 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.521e-05/0.4732, allocations: 19.81 kB / 0.5674 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.4732, allocations: 4 kB / 0.5674 GB, free: 14.46 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.0001334/0.4734, allocations: 136.7 kB / 0.5676 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.053e-05/0.4734, allocations: 15.91 kB / 0.5676 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003134/0.4737, allocations: 147.6 kB / 0.5677 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.962e-06/0.4737, allocations: 3.984 kB / 0.5677 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.4737, allocations: 0 / 0.5677 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.4737, allocations: 7.938 kB / 0.5677 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000612/0.4743, allocations: 448.1 kB / 0.5681 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.4744, allocations: 8.062 kB / 0.5682 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.651e-05/0.4744, allocations: 15.94 kB / 0.5682 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.282e-06/0.4744, allocations: 7.922 kB / 0.5682 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.4744, allocations: 4 kB / 0.5682 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.4744, allocations: 4 kB / 0.5682 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.4744, allocations: 3.984 kB / 0.5682 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003106/0.4747, allocations: 237.1 kB / 0.5684 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.837e-05/0.4748, allocations: 92.95 kB / 0.5685 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.594e-05/0.4749, allocations: 3.938 kB / 0.5685 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.477e-05/0.475, allocations: 11.98 kB / 0.5685 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.923e-05/0.475, allocations: 4 kB / 0.5685 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.971e-05/0.475, allocations: 8.078 kB / 0.5685 GB, free: 13.21 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001723/0.4752, allocations: 176.4 kB / 0.5687 GB, free: 13.04 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4752, allocations: 0 / 0.5687 GB, free: 13.04 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002888/0.4755, allocations: 35.92 kB / 0.5687 GB, free: 13 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.001943/0.4774, allocations: 0.4965 MB / 0.5692 GB, free: 12.7 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002466/0.4777, allocations: 75.91 kB / 0.5693 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4777, allocations: 0 / 0.5693 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.755e-05/0.4778, allocations: 35.92 kB / 0.5693 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003935/0.4782, allocations: 43.25 kB / 0.5694 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006355/0.4788, allocations: 304.4 kB / 0.5697 GB, free: 12.22 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004357/0.4792, allocations: 0.7128 MB / 0.5704 GB, free: 11.48 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.311e-05/0.4793, allocations: 28.62 kB / 0.5704 GB, free: 11.45 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.813e-05/0.4794, allocations: 27.36 kB / 0.5704 GB, free: 11.43 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4794, allocations: 0 / 0.5704 GB, free: 11.43 MB / 414.1 MB Notification: Performance of Templates: time 0.006066/0.4854, allocations: 2.031 MB / 0.5724 GB, free: 9.406 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test36.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.579319329932332]