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.001803/0.001803, allocations: 108.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.001661/0.001661, allocations: 217.3 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.602/1.602, 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.2976/0.2976, allocations: 46.88 MB / 361.1 MB, free: 4.637 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.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.002397/0.002397, allocations: 83.88 kB / 0.4969 GB, free: 7.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4787/0.4811, allocations: 65.99 MB / 0.5613 GB, free: 4.992 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.004065/0.4852, allocations: 1.947 MB / 0.5632 GB, free: 3.031 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002287/0.4875, allocations: 1.146 MB / 0.5643 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001053/0.4876, allocations: 4 kB / 0.5643 GB, free: 1.875 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005903/0.4882, allocations: 255.3 kB / 0.5646 GB, free: 1.625 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005035/0.4887, allocations: 231.2 kB / 0.5648 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003014/0.489, allocations: 123.5 kB / 0.5649 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003901/0.4894, allocations: 271.2 kB / 0.5652 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.4895, allocations: 17.69 kB / 0.5652 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002093/0.4897, allocations: 139.5 kB / 0.5653 GB, free: 0.8555 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000293/0.49, allocations: 203.4 kB / 0.5655 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.765e-05/0.49, allocations: 8 kB / 0.5655 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001553/0.4902, allocations: 75.95 kB / 0.5656 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001233/0.4903, allocations: 59.77 kB / 0.5656 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001433/0.4904, allocations: 103.2 kB / 0.5657 GB, free: 424 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004767/0.4909, allocations: 261.4 kB / 0.566 GB, free: 164 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.4909, allocations: 0 / 0.566 GB, free: 164 kB / 398.1 MB Notification: Performance of FrontEnd: time 3.807e-06/0.4909, allocations: 0 / 0.566 GB, free: 164 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.106e-05/0.4909, allocations: 0 / 0.566 GB, free: 164 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001159/0.4921, allocations: 0.5831 MB / 0.5666 GB, free: 15.53 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.882e-05/0.4922, allocations: 12.03 kB / 0.5666 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.692e-05/0.4922, allocations: 36.69 kB / 0.5666 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005626/0.4928, allocations: 306.6 kB / 0.5669 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.4928, allocations: 4.375 kB / 0.5669 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.242e-05/0.4929, allocations: 8.375 kB / 0.5669 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003083/0.4932, allocations: 111.1 kB / 0.567 GB, free: 15.01 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/0.4932, allocations: 7.875 kB / 0.567 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.801e-05/0.4932, allocations: 4 kB / 0.567 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.4932, allocations: 4 kB / 0.567 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001475/0.4934, allocations: 47.95 kB / 0.5671 GB, free: 14.95 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008573/0.4942, allocations: 492.7 kB / 0.5675 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004622/0.4947, allocations: 117.2 kB / 0.5677 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001092/0.4948, allocations: 45.75 kB / 0.5677 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.978e-05/0.4948, allocations: 0 / 0.5677 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002485/0.4951, allocations: 109.1 kB / 0.5678 GB, free: 14.11 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.172e-06/0.4951, allocations: 4 kB / 0.5678 GB, free: 14.1 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001442/0.4965, allocations: 0.5208 MB / 0.5683 GB, free: 13.57 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.065e-05/0.4966, allocations: 85.11 kB / 0.5684 GB, free: 13.47 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006009/0.4972, allocations: 497.6 kB / 0.5689 GB, free: 12.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.024e-05/0.4972, allocations: 33.7 kB / 0.5689 GB, free: 12.94 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/0.4974, allocations: 172.4 kB / 0.5691 GB, free: 12.76 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.76e-05/0.4974, allocations: 75.41 kB / 0.5691 GB, free: 12.69 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.168e-05/0.4975, allocations: 45.7 kB / 0.5692 GB, free: 12.64 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001914/0.4977, allocations: 342.8 kB / 0.5695 GB, free: 12.29 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001446/0.4979, allocations: 55.97 kB / 0.5696 GB, free: 12.24 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001592/0.498, allocations: 99.33 kB / 0.5697 GB, free: 12.13 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000295/0.4983, allocations: 159.5 kB / 0.5698 GB, free: 11.96 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.4983, allocations: 0 / 0.5698 GB, free: 11.96 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004346/0.4987, allocations: 245.2 kB / 0.5701 GB, free: 11.71 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.4988, allocations: 4 kB / 0.5701 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.4988, allocations: 0 / 0.5701 GB, free: 11.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.365e-05/0.4988, allocations: 7.938 kB / 0.5701 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/0.4989, allocations: 47.98 kB / 0.5701 GB, free: 11.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/0.499, allocations: 4 kB / 0.5701 GB, free: 11.65 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.221e-05/0.499, allocations: 11.92 kB / 0.5701 GB, free: 11.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.023e-05/0.4991, allocations: 12 kB / 0.5701 GB, free: 11.63 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.0001872/0.4992, allocations: 165.8 kB / 0.5703 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.791e-05/0.4993, allocations: 35.77 kB / 0.5703 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005534/0.4999, allocations: 264.7 kB / 0.5706 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.4999, allocations: 7.938 kB / 0.5706 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.4999, allocations: 4 kB / 0.5706 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.129e-05/0.4999, allocations: 7.969 kB / 0.5706 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.5009, allocations: 0.735 MB / 0.5713 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.5009, allocations: 128 / 0.5713 GB, free: 10.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.78e-05/0.501, allocations: 39.92 kB / 0.5714 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.501, allocations: 4 kB / 0.5714 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.692e-05/0.501, allocations: 4 kB / 0.5714 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.501, allocations: 4 kB / 0.5714 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.501, allocations: 0 / 0.5714 GB, free: 10.29 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005511/0.5016, allocations: 436.6 kB / 0.5718 GB, free: 9.832 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.602e-05/0.5017, allocations: 100.9 kB / 0.5719 GB, free: 9.715 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.024e-05/0.5017, allocations: 11.98 kB / 0.5719 GB, free: 9.703 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001381/0.5019, allocations: 8 kB / 0.5719 GB, free: 9.695 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.154e-05/0.502, allocations: 27.91 kB / 0.5719 GB, free: 9.668 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-05/0.502, allocations: 12.19 kB / 0.5719 GB, free: 9.656 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004317/0.5024, allocations: 371.1 kB / 0.5723 GB, free: 9.293 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5024, allocations: 3.938 kB / 0.5723 GB, free: 9.289 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003577/0.5028, allocations: 55.92 kB / 0.5723 GB, free: 9.234 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.001949/0.5047, allocations: 0.5116 MB / 0.5728 GB, free: 8.914 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003715/0.5051, allocations: 143.8 kB / 0.573 GB, free: 8.773 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.5051, allocations: 4.125 kB / 0.573 GB, free: 8.77 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001536/0.5052, allocations: 75.84 kB / 0.5731 GB, free: 8.695 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005487/0.5058, allocations: 57.55 kB / 0.5731 GB, free: 8.645 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.507, allocations: 0.629 MB / 0.5737 GB, free: 7.973 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006167/0.5076, allocations: 0.7831 MB / 0.5745 GB, free: 7.164 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001012/0.5077, allocations: 37.92 kB / 0.5745 GB, free: 7.129 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.005e-05/0.5078, allocations: 35.42 kB / 0.5746 GB, free: 7.094 MB / 414.1 MB Notification: Performance of SimCode: time 6.01e-07/0.5078, allocations: 0 / 0.5746 GB, free: 7.094 MB / 414.1 MB Notification: Performance of Templates: time 0.009468/0.5172, allocations: 3.267 MB / 0.5778 GB, free: 3.852 MB / 414.1 MB " [Timeout remaining time 659] 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.82388772489503]