Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.001339/0.001339, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.00162/0.00162, allocations: 210.5 kB / 23.73 MB, free: 4.387 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.507/1.507, allocations: 230.6 MB / 257.5 MB, free: 7.816 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.2409/0.2409, allocations: 44.93 MB / 358.8 MB, free: 6.066 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.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70") [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.003024/0.003024, allocations: 67.91 kB / 0.4936 GB, free: 9.973 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3811/0.3841, allocations: 65.47 MB / 0.5575 GB, free: 7.449 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.003494/0.3876, allocations: 1.788 MB / 0.5593 GB, free: 5.645 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002115/0.3897, allocations: 1.042 MB / 0.5603 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.201e-05/0.3898, allocations: 0 / 0.5603 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006107/0.3904, allocations: 315.2 kB / 0.5606 GB, free: 4.289 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005326/0.3909, allocations: 255.2 kB / 0.5608 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000265/0.3912, allocations: 103.7 kB / 0.5609 GB, free: 3.938 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003652/0.3916, allocations: 271.2 kB / 0.5612 GB, free: 3.672 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.405e-05/0.3916, allocations: 9.812 kB / 0.5612 GB, free: 3.66 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001826/0.3918, allocations: 139.5 kB / 0.5613 GB, free: 3.523 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002756/0.3921, allocations: 211.5 kB / 0.5615 GB, free: 3.316 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.974e-05/0.3921, allocations: 8 kB / 0.5615 GB, free: 3.309 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001237/0.3922, allocations: 51.97 kB / 0.5616 GB, free: 3.258 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001788/0.3924, allocations: 143.5 kB / 0.5617 GB, free: 3.117 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001265/0.3926, allocations: 111 kB / 0.5618 GB, free: 3.008 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004902/0.393, allocations: 384.6 kB / 0.5622 GB, free: 2.637 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.393, allocations: 0 / 0.5622 GB, free: 2.637 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.3931, allocations: 0 / 0.5622 GB, free: 2.637 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.3931, allocations: 0 / 0.5622 GB, free: 2.637 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.001112/0.3942, allocations: 0.6941 MB / 0.5629 GB, free: 1.91 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.3942, allocations: 8.031 kB / 0.5629 GB, free: 1.902 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.991e-05/0.3943, allocations: 52.61 kB / 0.5629 GB, free: 1.852 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006884/0.395, allocations: 390.5 kB / 0.5633 GB, free: 1.445 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.395, allocations: 4.375 kB / 0.5633 GB, free: 1.441 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.395, allocations: 8.125 kB / 0.5633 GB, free: 1.434 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002363/0.3953, allocations: 95.28 kB / 0.5634 GB, free: 1.328 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.3953, allocations: 0 / 0.5634 GB, free: 1.328 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.3953, allocations: 4 kB / 0.5634 GB, free: 1.324 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.3953, allocations: 4 kB / 0.5634 GB, free: 1.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001295/0.3954, allocations: 35.97 kB / 0.5634 GB, free: 1.285 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004254/0.3959, allocations: 314 kB / 0.5637 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003055/0.3962, allocations: 105.2 kB / 0.5638 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/0.3963, allocations: 37.7 kB / 0.5639 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.402e-05/0.3963, allocations: 0 / 0.5639 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002576/0.3965, allocations: 128.9 kB / 0.564 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.243e-06/0.3965, allocations: 0 / 0.564 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005555/0.3971, allocations: 205.2 kB / 0.5642 GB, free: 440 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.235e-05/0.3972, allocations: 77.11 kB / 0.5643 GB, free: 344 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001341/0.3985, allocations: 1.062 MB / 0.5653 GB, free: 15.26 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.958e-05/0.3985, allocations: 29.7 kB / 0.5653 GB, free: 15.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002246/0.3988, allocations: 236.1 kB / 0.5656 GB, free: 14.99 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.064e-05/0.3988, allocations: 35.75 kB / 0.5656 GB, free: 14.96 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.653e-05/0.3989, allocations: 25.7 kB / 0.5656 GB, free: 14.93 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002064/0.3991, allocations: 370.8 kB / 0.566 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/0.3992, allocations: 35.98 kB / 0.566 GB, free: 14.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001121/0.3993, allocations: 59.41 kB / 0.5661 GB, free: 14.45 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002019/0.3995, allocations: 95.34 kB / 0.5661 GB, free: 14.34 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.3995, allocations: 0 / 0.5661 GB, free: 14.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003406/0.3999, allocations: 193.6 kB / 0.5663 GB, free: 14.15 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.3999, allocations: 6.656 kB / 0.5663 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.3999, allocations: 8.062 kB / 0.5663 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.3999, allocations: 0 / 0.5663 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.4, allocations: 19.98 kB / 0.5664 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.4, allocations: 4 kB / 0.5664 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.971e-05/0.4001, allocations: 7.938 kB / 0.5664 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.518e-05/0.4001, allocations: 8 kB / 0.5664 GB, free: 14.1 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002466/0.4004, allocations: 221.7 kB / 0.5666 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.287e-05/0.4005, allocations: 59.56 kB / 0.5666 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004273/0.4009, allocations: 205.8 kB / 0.5668 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.4009, allocations: 4 kB / 0.5668 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.4009, allocations: 0 / 0.5668 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.4009, allocations: 3.984 kB / 0.5669 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000311/0.4012, allocations: 269.2 kB / 0.5671 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4012, allocations: 0 / 0.5671 GB, free: 13.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.597e-05/0.4013, allocations: 11.98 kB / 0.5671 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.4013, allocations: 3.938 kB / 0.5671 GB, free: 13.29 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.4013, allocations: 4 kB / 0.5671 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.4013, allocations: 0 / 0.5671 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4013, allocations: 0 / 0.5671 GB, free: 13.28 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003915/0.4017, allocations: 233.4 kB / 0.5674 GB, free: 13.03 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001425/0.4018, allocations: 75.52 kB / 0.5674 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.867e-05/0.4019, allocations: 4 kB / 0.5674 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.492e-05/0.402, allocations: 8.172 kB / 0.5674 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.361e-05/0.402, allocations: 7.984 kB / 0.5674 GB, free: 12.94 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.188e-05/0.4021, allocations: 12 kB / 0.5675 GB, free: 12.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009371/0.403, allocations: 0.7878 MB / 0.5682 GB, free: 12.14 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.403, allocations: 7.938 kB / 0.5682 GB, free: 12.13 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002862/0.4033, allocations: 40 kB / 0.5683 GB, free: 12.09 MB / 414.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.001775/0.405, allocations: 432 kB / 0.5687 GB, free: 11.85 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002746/0.4053, allocations: 91.78 kB / 0.5688 GB, free: 11.76 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4053, allocations: 0 / 0.5688 GB, free: 11.76 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001187/0.4054, allocations: 43.97 kB / 0.5688 GB, free: 11.71 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004582/0.4059, allocations: 82.83 kB / 0.5689 GB, free: 11.64 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001403/0.4073, allocations: 0.8973 MB / 0.5698 GB, free: 10.71 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002894/0.4076, allocations: 249.7 kB / 0.57 GB, free: 10.45 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001221/0.4077, allocations: 54.94 kB / 0.5701 GB, free: 10.4 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.073e-05/0.4078, allocations: 27.44 kB / 0.5701 GB, free: 10.38 MB / 414.1 MB Notification: Performance of SimCode: time 7.81e-07/0.4078, allocations: 0 / 0.5701 GB, free: 10.38 MB / 414.1 MB Notification: Performance of Templates: time 0.009675/0.4175, allocations: 4.377 MB / 0.5744 GB, free: 6.039 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test70.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.296288015320897]