Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 105.5 kB / 19.81 MB, free: 2.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 192.6 kB / 22.98 MB, free: 5.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 225.6 MB / 251.6 MB, free: 13.34 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.2529/0.2529, allocations: 44.92 MB / 351.6 MB, free: 12.25 MB / 286.1 MB " [Timeout remaining time 179] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,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.0.0_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,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.0.0_ModelicaTest.Tables.CombiTimeTable.Test73") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00199/0.00199, allocations: 83.86 kB / 495.4 MB, free: 1.789 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4571/0.4591, allocations: 64.24 MB / 0.5465 GB, free: 13.22 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.005311/0.4644, allocations: 1.917 MB / 0.5484 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002596/0.467, allocations: 1.005 MB / 0.5493 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002085/0.4672, allocations: 6.156 kB / 0.5493 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006698/0.4678, allocations: 159.5 kB / 0.5495 GB, free: 10.85 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000541/0.4684, allocations: 138.9 kB / 0.5496 GB, free: 10.76 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008003/0.4692, allocations: 191.3 kB / 0.5498 GB, free: 10.62 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000541/0.4697, allocations: 225.5 kB / 0.55 GB, free: 10.5 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000165/0.4699, allocations: 17.62 kB / 0.55 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003231/0.4702, allocations: 113.8 kB / 0.5502 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003293/0.4705, allocations: 138.3 kB / 0.5503 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.624e-05/0.4706, allocations: 8.281 kB / 0.5503 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002402/0.4708, allocations: 65.91 kB / 0.5504 GB, free: 10.33 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001422/0.471, allocations: 50.41 kB / 0.5504 GB, free: 10.3 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001431/0.4711, allocations: 84.16 kB / 0.5505 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005607/0.4717, allocations: 218.1 kB / 0.5507 GB, free: 10.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.4717, allocations: 1.062 kB / 0.5507 GB, free: 10.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4717, allocations: 0 / 0.5507 GB, free: 10.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.4717, allocations: 0 / 0.5507 GB, free: 10.09 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001209/0.4729, allocations: 0.5331 MB / 0.5512 GB, free: 9.574 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.887e-05/0.473, allocations: 12.94 kB / 0.5512 GB, free: 9.57 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001327/0.4731, allocations: 23.77 kB / 0.5512 GB, free: 9.559 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006035/0.4737, allocations: 274.2 kB / 0.5515 GB, free: 9.289 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.4737, allocations: 6.719 kB / 0.5515 GB, free: 9.285 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.627e-05/0.4738, allocations: 13.86 kB / 0.5515 GB, free: 9.277 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000346/0.4741, allocations: 110.9 kB / 0.5516 GB, free: 9.188 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.323e-05/0.4741, allocations: 5.109 kB / 0.5516 GB, free: 9.184 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.352e-05/0.4742, allocations: 5.125 kB / 0.5516 GB, free: 9.18 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.317e-06/0.4742, allocations: 6.219 kB / 0.5517 GB, free: 9.176 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001801/0.4744, allocations: 41.03 kB / 0.5517 GB, free: 9.16 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008316/0.4752, allocations: 464 kB / 0.5521 GB, free: 8.707 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005106/0.4757, allocations: 117.9 kB / 0.5522 GB, free: 8.621 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001456/0.4758, allocations: 43.81 kB / 0.5523 GB, free: 8.59 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.873e-05/0.4759, allocations: 1.219 kB / 0.5523 GB, free: 8.59 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003261/0.4762, allocations: 117.4 kB / 0.5524 GB, free: 8.488 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 1.924e-06/0.4762, allocations: 0 / 0.5524 GB, free: 8.488 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.001797/0.478, allocations: 0.4937 MB / 0.5529 GB, free: 8.215 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.964e-05/0.4781, allocations: 79.58 kB / 0.553 GB, free: 8.121 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006334/0.4787, allocations: 348.4 kB / 0.5533 GB, free: 7.914 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.877e-05/0.4788, allocations: 31.92 kB / 0.5533 GB, free: 7.879 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/0.4789, allocations: 152.8 kB / 0.5535 GB, free: 7.738 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000102/0.479, allocations: 76.94 kB / 0.5535 GB, free: 7.672 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.373e-05/0.4791, allocations: 41.7 kB / 0.5536 GB, free: 7.641 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002114/0.4793, allocations: 339.5 kB / 0.5539 GB, free: 7.309 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001836/0.4795, allocations: 56.94 kB / 0.554 GB, free: 7.281 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002141/0.4797, allocations: 97.16 kB / 0.554 GB, free: 7.211 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003947/0.4801, allocations: 156.5 kB / 0.5542 GB, free: 7.113 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.4801, allocations: 0 / 0.5542 GB, free: 7.113 MB / 398.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005871/0.4807, allocations: 240.8 kB / 0.5544 GB, free: 6.98 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/0.4807, allocations: 9.625 kB / 0.5544 GB, free: 6.977 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.4807, allocations: 1.094 kB / 0.5544 GB, free: 6.977 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.115e-05/0.4807, allocations: 6.5 kB / 0.5544 GB, free: 6.973 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002043/0.481, allocations: 46.08 kB / 0.5545 GB, free: 6.961 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.673e-05/0.481, allocations: 6.203 kB / 0.5545 GB, free: 6.957 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/0.4811, allocations: 8.344 kB / 0.5545 GB, free: 6.953 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.648e-05/0.4811, allocations: 10.38 kB / 0.5545 GB, free: 6.949 MB / 398.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.0002069/0.4813, allocations: 154.1 kB / 0.5547 GB, free: 6.812 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.171e-05/0.4814, allocations: 36.28 kB / 0.5547 GB, free: 6.789 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006917/0.4821, allocations: 263.4 kB / 0.5549 GB, free: 6.648 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/0.4821, allocations: 2.969 kB / 0.5549 GB, free: 6.648 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.4821, allocations: 1.594 kB / 0.5549 GB, free: 6.648 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.73e-06/0.4821, allocations: 3.938 kB / 0.555 GB, free: 6.645 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001301/0.4834, allocations: 0.7093 MB / 0.5556 GB, free: 6.035 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.4834, allocations: 5.125 kB / 0.5557 GB, free: 6.031 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001199/0.4835, allocations: 31.7 kB / 0.5557 GB, free: 6.023 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.655e-06/0.4836, allocations: 2.219 kB / 0.5557 GB, free: 6.023 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.304e-05/0.4836, allocations: 8.531 kB / 0.5557 GB, free: 6.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.4836, allocations: 2.188 kB / 0.5557 GB, free: 6.02 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.4836, allocations: 2.344 kB / 0.5557 GB, free: 6.02 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007242/0.4843, allocations: 428.2 kB / 0.5561 GB, free: 5.586 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.4844, allocations: 100.9 kB / 0.5562 GB, free: 5.469 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.909e-05/0.4845, allocations: 11.98 kB / 0.5562 GB, free: 5.457 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001942/0.4847, allocations: 4 kB / 0.5562 GB, free: 5.453 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.579e-05/0.4848, allocations: 23.92 kB / 0.5562 GB, free: 5.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.506e-05/0.4848, allocations: 19.98 kB / 0.5563 GB, free: 5.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003923/0.4852, allocations: 261.9 kB / 0.5565 GB, free: 5.16 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4852, allocations: 4 kB / 0.5565 GB, free: 5.156 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005313/0.4857, allocations: 43.94 kB / 0.5566 GB, free: 5.113 MB / 398.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.002304/0.488, allocations: 0.5097 MB / 0.5571 GB, free: 4.805 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004335/0.4885, allocations: 155.8 kB / 0.5572 GB, free: 4.652 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.4885, allocations: 0 / 0.5572 GB, free: 4.652 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00018/0.4887, allocations: 75.84 kB / 0.5573 GB, free: 4.578 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006154/0.4893, allocations: 60.56 kB / 0.5573 GB, free: 4.523 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.4903, allocations: 0.4942 MB / 0.5578 GB, free: 3.988 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004964/0.4908, allocations: 0.7595 MB / 0.5586 GB, free: 3.203 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001348/0.491, allocations: 49.91 kB / 0.5586 GB, free: 3.156 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.343e-05/0.4911, allocations: 23.44 kB / 0.5586 GB, free: 3.133 MB / 398.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4911, allocations: 0 / 0.5586 GB, free: 3.133 MB / 398.1 MB Notification: Performance of Templates: time 0.008792/0.4998, allocations: 3.157 MB / 0.5617 GB, free: 4 kB / 398.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.587484695017338]