Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002159/0.002159, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002478/0.002478, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.586/1.586, allocations: 230.6 MB / 258.3 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2332/0.2332, allocations: 44.92 MB / 359.6 MB, free: 6.289 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34") translateModel(ModelicaTest.Tables.CombiTimeTable.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002451/0.002451, allocations: 67.89 kB / 0.4944 GB, free: 10.15 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4352/0.4376, allocations: 65.47 MB / 0.5583 GB, free: 7.703 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test34): time 0.005452/0.4431, allocations: 1.746 MB / 0.56 GB, free: 5.949 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00351/0.4466, allocations: 1.049 MB / 0.561 GB, free: 4.895 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.4467, allocations: 4 kB / 0.561 GB, free: 4.891 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003671/0.447, allocations: 39.75 kB / 0.5611 GB, free: 4.852 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005507/0.4476, allocations: 95.55 kB / 0.5612 GB, free: 4.758 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003825/0.448, allocations: 83.61 kB / 0.5613 GB, free: 4.676 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000304/0.4483, allocations: 111.7 kB / 0.5614 GB, free: 4.566 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.4484, allocations: 4 kB / 0.5614 GB, free: 4.562 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001681/0.4486, allocations: 47.78 kB / 0.5614 GB, free: 4.516 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001257/0.4487, allocations: 39.72 kB / 0.5614 GB, free: 4.477 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.456e-05/0.4487, allocations: 4 kB / 0.5615 GB, free: 4.473 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001583/0.4489, allocations: 39.98 kB / 0.5615 GB, free: 4.434 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.523e-05/0.4489, allocations: 19.92 kB / 0.5615 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001001/0.449, allocations: 43.72 kB / 0.5615 GB, free: 4.371 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003405/0.4494, allocations: 117.9 kB / 0.5617 GB, free: 4.262 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.4494, allocations: 0 / 0.5617 GB, free: 4.262 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.4494, allocations: 0 / 0.5617 GB, free: 4.262 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.4494, allocations: 8 kB / 0.5617 GB, free: 4.254 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0008038/0.4502, allocations: 351.7 kB / 0.562 GB, free: 3.883 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.4502, allocations: 12.03 kB / 0.562 GB, free: 3.871 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.33e-05/0.4503, allocations: 8.891 kB / 0.562 GB, free: 3.863 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004097/0.4507, allocations: 151 kB / 0.5622 GB, free: 3.691 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.4507, allocations: 4.312 kB / 0.5622 GB, free: 3.688 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.461e-05/0.4508, allocations: 8.125 kB / 0.5622 GB, free: 3.68 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002261/0.451, allocations: 57.67 kB / 0.5622 GB, free: 3.617 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.451, allocations: 0 / 0.5622 GB, free: 3.617 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.451, allocations: 0 / 0.5622 GB, free: 3.617 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.451, allocations: 0 / 0.5622 GB, free: 3.617 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001293/0.4512, allocations: 23.92 kB / 0.5623 GB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005742/0.4517, allocations: 263.9 kB / 0.5625 GB, free: 3.293 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002927/0.452, allocations: 58.67 kB / 0.5626 GB, free: 3.227 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.4521, allocations: 20.84 kB / 0.5626 GB, free: 3.203 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.4522, allocations: 0 / 0.5626 GB, free: 3.203 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002299/0.4524, allocations: 71.33 kB / 0.5627 GB, free: 3.121 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 2.315e-06/0.4524, allocations: 0 / 0.5627 GB, free: 3.121 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009064/0.4533, allocations: 173.7 kB / 0.5628 GB, free: 2.945 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.096e-05/0.4534, allocations: 55.41 kB / 0.5629 GB, free: 2.879 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003498/0.4537, allocations: 198.3 kB / 0.5631 GB, free: 2.676 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.993e-05/0.4537, allocations: 25.7 kB / 0.5631 GB, free: 2.645 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001071/0.4538, allocations: 108.1 kB / 0.5632 GB, free: 2.535 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.581e-05/0.4539, allocations: 27.78 kB / 0.5632 GB, free: 2.508 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.818e-05/0.454, allocations: 21.72 kB / 0.5632 GB, free: 2.48 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002284/0.4542, allocations: 330.8 kB / 0.5636 GB, free: 2.148 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.4543, allocations: 16 kB / 0.5636 GB, free: 2.133 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/0.4545, allocations: 41.7 kB / 0.5636 GB, free: 2.086 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000253/0.4547, allocations: 65.69 kB / 0.5637 GB, free: 2.016 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.4547, allocations: 0 / 0.5637 GB, free: 2.016 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003731/0.4551, allocations: 101.6 kB / 0.5638 GB, free: 1.91 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.4551, allocations: 7.938 kB / 0.5638 GB, free: 1.902 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.4551, allocations: 3.984 kB / 0.5638 GB, free: 1.898 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.4551, allocations: 4 kB / 0.5638 GB, free: 1.895 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001625/0.4553, allocations: 20.02 kB / 0.5638 GB, free: 1.875 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.4553, allocations: 0 / 0.5638 GB, free: 1.875 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.117e-05/0.4554, allocations: 7.938 kB / 0.5638 GB, free: 1.867 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/0.4554, allocations: 4 kB / 0.5638 GB, free: 1.863 MB / 398.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.0001847/0.4556, allocations: 125.8 kB / 0.5639 GB, free: 1.73 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.494e-05/0.4556, allocations: 11.91 kB / 0.5639 GB, free: 1.719 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004315/0.4561, allocations: 115 kB / 0.5641 GB, free: 1.59 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.4561, allocations: 4.188 kB / 0.5641 GB, free: 1.586 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.4561, allocations: 4 kB / 0.5641 GB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.4561, allocations: 7.875 kB / 0.5641 GB, free: 1.574 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007376/0.4568, allocations: 366.6 kB / 0.5644 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.4568, allocations: 0 / 0.5644 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.041e-05/0.4569, allocations: 11.98 kB / 0.5644 GB, free: 1.152 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.558e-06/0.4569, allocations: 0 / 0.5644 GB, free: 1.152 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.842e-05/0.4569, allocations: 3.938 kB / 0.5644 GB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.4569, allocations: 4 kB / 0.5644 GB, free: 1.145 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.4569, allocations: 4.031 kB / 0.5644 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004476/0.4574, allocations: 208.2 kB / 0.5646 GB, free: 0.918 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.93e-05/0.4574, allocations: 7.953 kB / 0.5646 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.606e-05/0.4575, allocations: 7.922 kB / 0.5647 GB, free: 0.9023 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001444/0.4576, allocations: 8 kB / 0.5647 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.942e-05/0.4576, allocations: 11.92 kB / 0.5647 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.4577, allocations: 4 kB / 0.5647 GB, free: 0.8789 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002423/0.4579, allocations: 156.2 kB / 0.5648 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.4579, allocations: 0 / 0.5648 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005067/0.4584, allocations: 23.94 kB / 0.5648 GB, free: 0.7031 MB / 398.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.002787/0.4612, allocations: 459 kB / 0.5653 GB, free: 444 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003012/0.4615, allocations: 59.91 kB / 0.5653 GB, free: 384 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.4615, allocations: 0 / 0.5653 GB, free: 384 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001434/0.4617, allocations: 27.92 kB / 0.5654 GB, free: 356 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005689/0.4622, allocations: 27.08 kB / 0.5654 GB, free: 332 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007888/0.463, allocations: 272.4 kB / 0.5657 GB, free: 24 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005295/0.4635, allocations: 0.7041 MB / 0.5663 GB, free: 15.29 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.697e-05/0.4636, allocations: 19.44 kB / 0.5664 GB, free: 15.28 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4636, allocations: 0 / 0.5664 GB, free: 15.28 MB / 414.1 MB Notification: Performance of Templates: time 0.007108/0.4707, allocations: 1.957 MB / 0.5683 GB, free: 13.32 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test34/Test34.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test34.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: 8.179090364137664]