Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.001354/0.001354, 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.001559/0.001559, allocations: 212.6 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.615/1.615, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.2336/0.2336, allocations: 44.94 MB / 358.8 MB, free: 6.035 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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80") [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.002153/0.002153, allocations: 67.89 kB / 0.4936 GB, free: 9.961 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3886/0.3908, allocations: 65.47 MB / 0.5575 GB, free: 7.422 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003468/0.3942, allocations: 1.788 MB / 0.5593 GB, free: 5.617 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003072/0.3973, allocations: 1.727 MB / 0.5609 GB, free: 3.883 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.3974, allocations: 7.938 kB / 0.561 GB, free: 3.875 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003152/0.3977, allocations: 55.69 kB / 0.561 GB, free: 3.82 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004873/0.3982, allocations: 143.4 kB / 0.5611 GB, free: 3.68 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002828/0.3985, allocations: 107.6 kB / 0.5612 GB, free: 3.574 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003209/0.3988, allocations: 207.3 kB / 0.5614 GB, free: 3.371 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.725e-05/0.3989, allocations: 9.812 kB / 0.5614 GB, free: 3.359 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001501/0.399, allocations: 79.64 kB / 0.5615 GB, free: 3.281 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002085/0.3992, allocations: 83.59 kB / 0.5616 GB, free: 3.199 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.033e-05/0.3993, allocations: 8 kB / 0.5616 GB, free: 3.191 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002378/0.3995, allocations: 104 kB / 0.5617 GB, free: 3.09 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.3996, allocations: 47.77 kB / 0.5618 GB, free: 3.043 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.162e-05/0.3997, allocations: 55.66 kB / 0.5618 GB, free: 2.988 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003833/0.4001, allocations: 225.5 kB / 0.562 GB, free: 2.773 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.4001, allocations: 0 / 0.562 GB, free: 2.773 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4001, allocations: 0 / 0.562 GB, free: 2.773 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.663e-06/0.4001, allocations: 0 / 0.562 GB, free: 2.773 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.0007707/0.4009, allocations: 429 kB / 0.5624 GB, free: 2.324 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.4009, allocations: 15.95 kB / 0.5625 GB, free: 2.309 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.019e-05/0.401, allocations: 16.84 kB / 0.5625 GB, free: 2.293 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003953/0.4014, allocations: 194.2 kB / 0.5627 GB, free: 2.078 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.4014, allocations: 4.375 kB / 0.5627 GB, free: 2.074 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.691e-05/0.4014, allocations: 8.125 kB / 0.5627 GB, free: 2.066 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002799/0.4017, allocations: 152.4 kB / 0.5628 GB, free: 1.887 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.4017, allocations: 0 / 0.5628 GB, free: 1.887 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.4017, allocations: 4 kB / 0.5628 GB, free: 1.883 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.4017, allocations: 4 kB / 0.5628 GB, free: 1.879 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001209/0.4018, allocations: 35.91 kB / 0.5629 GB, free: 1.844 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002304/0.4021, allocations: 158.2 kB / 0.563 GB, free: 1.656 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003101/0.4024, allocations: 105.2 kB / 0.5631 GB, free: 1.535 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.4025, allocations: 41.69 kB / 0.5631 GB, free: 1.488 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.4025, allocations: 11.92 kB / 0.5632 GB, free: 1.477 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002504/0.4028, allocations: 113 kB / 0.5633 GB, free: 1.348 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.402e-06/0.4028, allocations: 0 / 0.5633 GB, free: 1.348 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005816/0.4033, allocations: 177.4 kB / 0.5634 GB, free: 1.168 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.34e-05/0.4034, allocations: 132.5 kB / 0.5636 GB, free: 1.008 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000306/0.4037, allocations: 248.1 kB / 0.5638 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.168e-05/0.4038, allocations: 25.7 kB / 0.5638 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.584e-05/0.4039, allocations: 120.1 kB / 0.5639 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.044e-05/0.4039, allocations: 31.8 kB / 0.564 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.118e-05/0.404, allocations: 29.7 kB / 0.564 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.4041, allocations: 330.8 kB / 0.5643 GB, free: 208 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.157e-05/0.4042, allocations: 31.97 kB / 0.5643 GB, free: 176 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001531/0.4044, allocations: 124.5 kB / 0.5645 GB, free: 20 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002219/0.4046, allocations: 99.38 kB / 0.5645 GB, free: 15.91 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.4046, allocations: 0 / 0.5645 GB, free: 15.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004116/0.405, allocations: 150 kB / 0.5647 GB, free: 15.76 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.405, allocations: 4 kB / 0.5647 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.405, allocations: 0 / 0.5647 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.405, allocations: 4 kB / 0.5647 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.4052, allocations: 23.92 kB / 0.5647 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.4052, allocations: 4 kB / 0.5647 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.913e-05/0.4053, allocations: 19.89 kB / 0.5647 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.4053, allocations: 8 kB / 0.5648 GB, free: 15.7 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_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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.000141/0.4054, allocations: 130.4 kB / 0.5649 GB, free: 15.56 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.14e-05/0.4055, allocations: 19.84 kB / 0.5649 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004445/0.4059, allocations: 162.7 kB / 0.5651 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.4059, allocations: 0 / 0.5651 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.4059, allocations: 4 kB / 0.5651 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.4059, allocations: 0 / 0.5651 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002897/0.4062, allocations: 165.1 kB / 0.5652 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.4062, allocations: 4 kB / 0.5652 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.444e-05/0.4063, allocations: 15.92 kB / 0.5652 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.355e-06/0.4063, allocations: 3.938 kB / 0.5652 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.081e-05/0.4063, allocations: 8 kB / 0.5652 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.4063, allocations: 0 / 0.5652 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.983e-06/0.4063, allocations: 0 / 0.5652 GB, free: 15.14 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004013/0.4067, allocations: 177.8 kB / 0.5654 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.42e-05/0.4068, allocations: 27.8 kB / 0.5654 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.722e-05/0.4068, allocations: 7.922 kB / 0.5654 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.932e-05/0.4069, allocations: 12.19 kB / 0.5655 GB, free: 14.9 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.794e-05/0.4069, allocations: 7.984 kB / 0.5655 GB, free: 14.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.209e-05/0.407, allocations: 15.94 kB / 0.5655 GB, free: 14.88 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003079/0.4073, allocations: 185.8 kB / 0.5657 GB, free: 14.7 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4073, allocations: 3.938 kB / 0.5657 GB, free: 14.69 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004998/0.4078, allocations: 55.86 kB / 0.5657 GB, free: 14.64 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,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,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 (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.002785/0.4106, allocations: 0.5229 MB / 0.5662 GB, free: 14.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003928/0.411, allocations: 83.89 kB / 0.5663 GB, free: 14.24 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.411, allocations: 0 / 0.5663 GB, free: 14.24 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001702/0.4111, allocations: 52.03 kB / 0.5664 GB, free: 14.19 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005783/0.4117, allocations: 69.17 kB / 0.5664 GB, free: 14.13 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.4128, allocations: 287.6 kB / 0.5667 GB, free: 13.82 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001964/0.413, allocations: 103.5 kB / 0.5668 GB, free: 13.7 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001486/0.4131, allocations: 33.95 kB / 0.5668 GB, free: 13.67 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001173/0.4132, allocations: 31.42 kB / 0.5669 GB, free: 13.64 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4132, allocations: 0 / 0.5669 GB, free: 13.64 MB / 414.1 MB Notification: Performance of Templates: time 0.01259/0.4258, allocations: 3.504 MB / 0.5703 GB, free: 10.18 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.460516354069114]