Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.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.00164/0.00164, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.002412/0.002412, allocations: 214.1 kB / 24.48 MB, free: 3.844 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.48/1.48, allocations: 230.6 MB / 258.2 MB, free: 7.809 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.2329/0.2329, allocations: 44.94 MB / 359.6 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.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test18,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18") [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.002141/0.002141, allocations: 75.86 kB / 0.4943 GB, free: 10.03 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.417/0.4191, allocations: 65.48 MB / 0.5582 GB, free: 7.484 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test18): time 0.003272/0.4224, allocations: 1.612 MB / 0.5598 GB, free: 5.863 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002044/0.4244, allocations: 1.232 MB / 0.561 GB, free: 4.625 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.119e-05/0.4245, allocations: 0 / 0.561 GB, free: 4.625 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002424/0.4247, allocations: 23.84 kB / 0.561 GB, free: 4.602 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003267/0.4251, allocations: 83.62 kB / 0.5611 GB, free: 4.52 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002702/0.4253, allocations: 95.69 kB / 0.5612 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000174/0.4255, allocations: 87.69 kB / 0.5613 GB, free: 4.34 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001259/0.4256, allocations: 11.66 kB / 0.5613 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.467e-05/0.4257, allocations: 31.86 kB / 0.5613 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001313/0.4258, allocations: 39.7 kB / 0.5613 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.883e-05/0.4258, allocations: 4 kB / 0.5613 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001799/0.426, allocations: 95.88 kB / 0.5614 GB, free: 4.168 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.119e-05/0.4261, allocations: 15.94 kB / 0.5615 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.078e-05/0.4261, allocations: 19.86 kB / 0.5615 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003148/0.4264, allocations: 158.1 kB / 0.5616 GB, free: 3.98 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.4264, allocations: 0 / 0.5616 GB, free: 3.98 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.4264, allocations: 0 / 0.5616 GB, free: 3.98 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.113e-05/0.4264, allocations: 0 / 0.5616 GB, free: 3.98 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.0005821/0.427, allocations: 329.6 kB / 0.5619 GB, free: 3.629 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.4271, allocations: 12.03 kB / 0.562 GB, free: 3.617 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.401e-05/0.4271, allocations: 12.88 kB / 0.562 GB, free: 3.605 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002287/0.4273, allocations: 133.1 kB / 0.5621 GB, free: 3.453 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.4274, allocations: 8.375 kB / 0.5621 GB, free: 3.445 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.016e-05/0.4274, allocations: 8.312 kB / 0.5621 GB, free: 3.438 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002289/0.4276, allocations: 109.1 kB / 0.5622 GB, free: 3.312 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.4276, allocations: 0 / 0.5622 GB, free: 3.312 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.4276, allocations: 0 / 0.5622 GB, free: 3.312 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.4276, allocations: 0 / 0.5622 GB, free: 3.312 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001136/0.4278, allocations: 35.97 kB / 0.5622 GB, free: 3.277 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003884/0.4281, allocations: 240.4 kB / 0.5625 GB, free: 3.012 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001342/0.4283, allocations: 50.5 kB / 0.5625 GB, free: 2.953 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.362e-05/0.4283, allocations: 24.97 kB / 0.5625 GB, free: 2.926 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.4284, allocations: 0 / 0.5625 GB, free: 2.926 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.568e-05/0.4284, allocations: 34.56 kB / 0.5626 GB, free: 2.883 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 9.02e-07/0.4284, allocations: 0 / 0.5626 GB, free: 2.883 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.00066/0.4291, allocations: 177.5 kB / 0.5627 GB, free: 2.703 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.21e-05/0.4291, allocations: 77.11 kB / 0.5628 GB, free: 2.609 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001755/0.4293, allocations: 153.5 kB / 0.563 GB, free: 2.449 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.4293, allocations: 33.7 kB / 0.563 GB, free: 2.41 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.376e-05/0.4294, allocations: 100.1 kB / 0.5631 GB, free: 2.309 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.404e-05/0.4294, allocations: 27.8 kB / 0.5631 GB, free: 2.281 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-05/0.4295, allocations: 21.72 kB / 0.5631 GB, free: 2.254 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.4296, allocations: 326.8 kB / 0.5635 GB, free: 1.926 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.208e-05/0.4297, allocations: 19.98 kB / 0.5635 GB, free: 1.906 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.976e-05/0.4298, allocations: 67.34 kB / 0.5635 GB, free: 1.828 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001482/0.4299, allocations: 65.05 kB / 0.5636 GB, free: 1.762 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.4299, allocations: 4.031 kB / 0.5636 GB, free: 1.758 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002158/0.4302, allocations: 101.6 kB / 0.5637 GB, free: 1.652 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.4302, allocations: 7.938 kB / 0.5637 GB, free: 1.645 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.4302, allocations: 384 / 0.5637 GB, free: 1.645 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.4302, allocations: 3.984 kB / 0.5637 GB, free: 1.641 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000105/0.4303, allocations: 19.98 kB / 0.5637 GB, free: 1.621 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.4303, allocations: 3.938 kB / 0.5637 GB, free: 1.617 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.174e-05/0.4304, allocations: 12 kB / 0.5637 GB, free: 1.605 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.4304, allocations: 7.922 kB / 0.5638 GB, free: 1.598 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001025/0.4305, allocations: 121.8 kB / 0.5639 GB, free: 1.469 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.596e-05/0.4305, allocations: 7.953 kB / 0.5639 GB, free: 1.461 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002963/0.4308, allocations: 118.2 kB / 0.564 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.4308, allocations: 0 / 0.564 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.4308, allocations: 0 / 0.564 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.4308, allocations: 0 / 0.564 GB, free: 1.332 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004982/0.4313, allocations: 334 kB / 0.5643 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.4313, allocations: 4 kB / 0.5643 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.017e-05/0.4314, allocations: 19.98 kB / 0.5643 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.4314, allocations: 0 / 0.5643 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.4314, allocations: 0 / 0.5643 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.4314, allocations: 3.938 kB / 0.5643 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4314, allocations: 0 / 0.5643 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002735/0.4317, allocations: 207.6 kB / 0.5645 GB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.571e-05/0.4317, allocations: 3.953 kB / 0.5645 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.832e-05/0.4317, allocations: 0 / 0.5645 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.524e-05/0.4318, allocations: 15.92 kB / 0.5646 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.155e-05/0.4318, allocations: 8 kB / 0.5646 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/0.4318, allocations: 7.984 kB / 0.5646 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001085/0.4319, allocations: 113.6 kB / 0.5647 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4319, allocations: 0 / 0.5647 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002928/0.4322, allocations: 43.86 kB / 0.5647 GB, free: 0.5352 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.001902/0.4341, allocations: 0.5192 MB / 0.5652 GB, free: 232 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002444/0.4344, allocations: 59.91 kB / 0.5653 GB, free: 172 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.4344, allocations: 4 kB / 0.5653 GB, free: 168 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.684e-05/0.4345, allocations: 31.97 kB / 0.5653 GB, free: 136 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003622/0.4348, allocations: 12 kB / 0.5653 GB, free: 124 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005353/0.4354, allocations: 235.5 kB / 0.5656 GB, free: 15.86 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.866e-05/0.4355, allocations: 79.67 kB / 0.5656 GB, free: 15.76 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.031e-05/0.4355, allocations: 23.42 kB / 0.5657 GB, free: 15.73 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4355, allocations: 4 kB / 0.5657 GB, free: 15.73 MB / 414.1 MB Notification: Performance of Templates: time 0.004612/0.4401, allocations: 2.123 MB / 0.5677 GB, free: 13.61 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test18/Test18.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test18.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.174119832925498]