Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.001604/0.001604, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001806/0.001806, allocations: 209 kB / 24.48 MB, free: 3.938 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.523/1.523, allocations: 230.6 MB / 258.2 MB, free: 7.746 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.2359/0.2359, allocations: 44.93 MB / 359.6 MB, free: 6.035 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.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.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5") [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.002352/0.002352, allocations: 64.12 kB / 0.4943 GB, free: 9.992 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.43/0.4324, allocations: 65.48 MB / 0.5582 GB, free: 7.477 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.003335/0.4357, allocations: 1.612 MB / 0.5598 GB, free: 5.855 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001155/0.4369, allocations: 0.5349 MB / 0.5603 GB, free: 5.316 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.258e-05/0.4369, allocations: 0 / 0.5603 GB, free: 5.316 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003157/0.4372, allocations: 99.67 kB / 0.5604 GB, free: 5.219 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003214/0.4375, allocations: 111.6 kB / 0.5605 GB, free: 5.109 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003711/0.4379, allocations: 115.6 kB / 0.5606 GB, free: 5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000171/0.4381, allocations: 87.73 kB / 0.5607 GB, free: 4.914 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.4382, allocations: 14.67 kB / 0.5607 GB, free: 4.902 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.208e-05/0.4383, allocations: 39.83 kB / 0.5608 GB, free: 4.863 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.4384, allocations: 63.73 kB / 0.5608 GB, free: 4.801 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.4384, allocations: 4 kB / 0.5608 GB, free: 4.797 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.983e-05/0.4385, allocations: 47.98 kB / 0.5609 GB, free: 4.75 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.664e-05/0.4386, allocations: 19.92 kB / 0.5609 GB, free: 4.73 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.811e-05/0.4386, allocations: 19.81 kB / 0.5609 GB, free: 4.711 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002105/0.4388, allocations: 123.2 kB / 0.561 GB, free: 4.594 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.4388, allocations: 0 / 0.561 GB, free: 4.594 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.4388, allocations: 0 / 0.561 GB, free: 4.594 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.4388, allocations: 0 / 0.561 GB, free: 4.594 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005383/0.4394, allocations: 353.5 kB / 0.5614 GB, free: 4.219 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.4394, allocations: 8.031 kB / 0.5614 GB, free: 4.211 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.082e-05/0.4394, allocations: 12.84 kB / 0.5614 GB, free: 4.199 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002223/0.4396, allocations: 142.9 kB / 0.5615 GB, free: 4.035 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.786e-06/0.4397, allocations: 4.375 kB / 0.5615 GB, free: 4.031 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.319e-05/0.4397, allocations: 12.27 kB / 0.5615 GB, free: 4.02 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.4398, allocations: 61.8 kB / 0.5616 GB, free: 3.953 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.4399, allocations: 0 / 0.5616 GB, free: 3.953 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.4399, allocations: 0 / 0.5616 GB, free: 3.953 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.635e-06/0.4399, allocations: 4 kB / 0.5616 GB, free: 3.949 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/0.44, allocations: 31.91 kB / 0.5616 GB, free: 3.918 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004365/0.4404, allocations: 240.5 kB / 0.5619 GB, free: 3.652 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001268/0.4405, allocations: 50.56 kB / 0.5619 GB, free: 3.594 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.417e-05/0.4406, allocations: 16.94 kB / 0.5619 GB, free: 3.574 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.4406, allocations: 4 kB / 0.5619 GB, free: 3.57 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.4406, allocations: 38.5 kB / 0.562 GB, free: 3.523 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.4406, allocations: 0 / 0.562 GB, free: 3.523 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009714/0.4416, allocations: 249.5 kB / 0.5622 GB, free: 3.273 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.621e-05/0.4417, allocations: 51.41 kB / 0.5622 GB, free: 3.211 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002551/0.4419, allocations: 230.8 kB / 0.5625 GB, free: 2.969 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.782e-05/0.4419, allocations: 29.7 kB / 0.5625 GB, free: 2.934 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.694e-05/0.442, allocations: 108.1 kB / 0.5626 GB, free: 2.824 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.566e-05/0.4421, allocations: 27.73 kB / 0.5626 GB, free: 2.797 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.433e-05/0.4421, allocations: 21.72 kB / 0.5626 GB, free: 2.77 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.4423, allocations: 330.8 kB / 0.563 GB, free: 2.438 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.916e-05/0.4424, allocations: 32.03 kB / 0.563 GB, free: 2.406 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.468e-05/0.4424, allocations: 27.98 kB / 0.563 GB, free: 2.379 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001813/0.4426, allocations: 80.81 kB / 0.5631 GB, free: 2.297 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.4426, allocations: 4 kB / 0.5631 GB, free: 2.293 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002467/0.4429, allocations: 121.5 kB / 0.5632 GB, free: 2.168 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.4429, allocations: 4 kB / 0.5632 GB, free: 2.164 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.4429, allocations: 0 / 0.5632 GB, free: 2.164 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.4429, allocations: 0 / 0.5632 GB, free: 2.164 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.443, allocations: 19.98 kB / 0.5632 GB, free: 2.145 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.443, allocations: 0 / 0.5632 GB, free: 2.145 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.633e-05/0.4431, allocations: 7.984 kB / 0.5632 GB, free: 2.137 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-06/0.4431, allocations: 7.938 kB / 0.5633 GB, free: 2.129 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.0001253/0.4432, allocations: 137.8 kB / 0.5634 GB, free: 1.984 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.796e-05/0.4432, allocations: 15.83 kB / 0.5634 GB, free: 1.969 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003023/0.4435, allocations: 131 kB / 0.5635 GB, free: 1.828 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.4435, allocations: 0 / 0.5635 GB, free: 1.828 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.4435, allocations: 0 / 0.5635 GB, free: 1.828 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.4435, allocations: 4 kB / 0.5635 GB, free: 1.824 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005961/0.4441, allocations: 367.2 kB / 0.5639 GB, free: 1.426 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.4441, allocations: 4 kB / 0.5639 GB, free: 1.422 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.018e-05/0.4442, allocations: 15.98 kB / 0.5639 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.4442, allocations: 0 / 0.5639 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/0.4442, allocations: 4 kB / 0.5639 GB, free: 1.402 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.111e-06/0.4442, allocations: 7.875 kB / 0.5639 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.4442, allocations: 0 / 0.5639 GB, free: 1.395 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003092/0.4446, allocations: 220.3 kB / 0.5641 GB, free: 1.16 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.128e-05/0.4446, allocations: 11.94 kB / 0.5641 GB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.4446, allocations: 8.031 kB / 0.5641 GB, free: 1.141 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.584e-05/0.4447, allocations: 7.938 kB / 0.5641 GB, free: 1.133 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.871e-05/0.4447, allocations: 7.984 kB / 0.5642 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.4447, allocations: 0 / 0.5642 GB, free: 1.125 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001741/0.4449, allocations: 180.3 kB / 0.5643 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4449, allocations: 0 / 0.5643 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002604/0.4451, allocations: 19.95 kB / 0.5643 GB, free: 0.9297 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: 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.001864/0.447, allocations: 0.4893 MB / 0.5648 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002499/0.4473, allocations: 63.95 kB / 0.5649 GB, free: 0.582 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/0.4473, allocations: 4 kB / 0.5649 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.909e-05/0.4474, allocations: 39.91 kB / 0.5649 GB, free: 0.5391 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000385/0.4478, allocations: 34.03 kB / 0.565 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006579/0.4484, allocations: 308.5 kB / 0.5652 GB, free: 180 kB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001254/0.4485, allocations: 100.7 kB / 0.5653 GB, free: 60 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.451e-05/0.4486, allocations: 15.42 kB / 0.5654 GB, free: 44 kB / 398.1 MB Notification: Performance of SimCode: time 6.11e-07/0.4486, allocations: 0 / 0.5654 GB, free: 44 kB / 398.1 MB Notification: Performance of Templates: time 0.004528/0.4531, allocations: 1.907 MB / 0.5672 GB, free: 14.13 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.079568531364202]