Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.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.002029/0.002029, 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.001929/0.001929, allocations: 211.5 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.54/1.54, allocations: 230.6 MB / 258.2 MB, free: 7.781 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.2422/0.2422, allocations: 44.94 MB / 359.6 MB, free: 6.055 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.Test4,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|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,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|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4") [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.002098/0.002098, allocations: 67.89 kB / 0.4943 GB, free: 10 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4268/0.4289, allocations: 65.47 MB / 0.5582 GB, free: 7.469 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.003915/0.4328, allocations: 1.636 MB / 0.5598 GB, free: 5.82 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001264/0.434, allocations: 0.5466 MB / 0.5604 GB, free: 5.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.378e-05/0.4341, allocations: 4 kB / 0.5604 GB, free: 5.266 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003242/0.4344, allocations: 91.67 kB / 0.5604 GB, free: 5.176 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003601/0.4348, allocations: 107.6 kB / 0.5605 GB, free: 5.07 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003577/0.4352, allocations: 124.2 kB / 0.5607 GB, free: 4.949 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002172/0.4354, allocations: 103.7 kB / 0.5608 GB, free: 4.848 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.4355, allocations: 23.64 kB / 0.5608 GB, free: 4.828 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.697e-05/0.4356, allocations: 43.83 kB / 0.5608 GB, free: 4.785 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001429/0.4357, allocations: 75.67 kB / 0.5609 GB, free: 4.711 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.876e-05/0.4358, allocations: 8 kB / 0.5609 GB, free: 4.703 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.4359, allocations: 39.98 kB / 0.5609 GB, free: 4.664 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.517e-05/0.4359, allocations: 31.91 kB / 0.561 GB, free: 4.633 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.86e-05/0.436, allocations: 39.73 kB / 0.561 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003292/0.4363, allocations: 130.2 kB / 0.5611 GB, free: 4.469 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.4363, allocations: 0 / 0.5611 GB, free: 4.469 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.4363, allocations: 0 / 0.5611 GB, free: 4.469 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.127e-05/0.4363, allocations: 0 / 0.5611 GB, free: 4.469 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006412/0.437, allocations: 361.4 kB / 0.5615 GB, free: 4.086 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.437, allocations: 8.031 kB / 0.5615 GB, free: 4.078 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.7e-05/0.4371, allocations: 16.84 kB / 0.5615 GB, free: 4.062 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002987/0.4374, allocations: 166.2 kB / 0.5617 GB, free: 3.875 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.4374, allocations: 4.375 kB / 0.5617 GB, free: 3.871 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.274e-05/0.4374, allocations: 8.375 kB / 0.5617 GB, free: 3.863 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001963/0.4376, allocations: 80.91 kB / 0.5618 GB, free: 3.781 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.4376, allocations: 3.953 kB / 0.5618 GB, free: 3.777 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.4376, allocations: 3.938 kB / 0.5618 GB, free: 3.773 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.779e-06/0.4376, allocations: 4 kB / 0.5618 GB, free: 3.77 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001326/0.4378, allocations: 43.95 kB / 0.5618 GB, free: 3.727 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005004/0.4383, allocations: 272.4 kB / 0.5621 GB, free: 3.43 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001545/0.4384, allocations: 62.5 kB / 0.5621 GB, free: 3.359 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.647e-05/0.4385, allocations: 28.84 kB / 0.5622 GB, free: 3.328 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.794e-05/0.4385, allocations: 7.984 kB / 0.5622 GB, free: 3.32 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.893e-05/0.4386, allocations: 30.72 kB / 0.5622 GB, free: 3.281 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.4386, allocations: 0 / 0.5622 GB, free: 3.281 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.001159/0.4397, allocations: 329.7 kB / 0.5625 GB, free: 2.953 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.859e-05/0.4398, allocations: 67.22 kB / 0.5626 GB, free: 2.875 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002832/0.4401, allocations: 235.6 kB / 0.5628 GB, free: 2.625 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.896e-05/0.4401, allocations: 25.7 kB / 0.5628 GB, free: 2.594 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.701e-05/0.4402, allocations: 124 kB / 0.5629 GB, free: 2.469 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.225e-05/0.4402, allocations: 43.62 kB / 0.563 GB, free: 2.426 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.324e-05/0.4403, allocations: 33.7 kB / 0.563 GB, free: 2.387 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002373/0.4405, allocations: 322.8 kB / 0.5633 GB, free: 2.062 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/0.4406, allocations: 43.97 kB / 0.5634 GB, free: 2.02 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.856e-05/0.4407, allocations: 43.97 kB / 0.5634 GB, free: 1.977 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002288/0.4409, allocations: 112.8 kB / 0.5635 GB, free: 1.863 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.4409, allocations: 0 / 0.5635 GB, free: 1.863 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002917/0.4412, allocations: 157.4 kB / 0.5637 GB, free: 1.707 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.4413, allocations: 11.94 kB / 0.5637 GB, free: 1.695 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.4413, allocations: 0 / 0.5637 GB, free: 1.695 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.4413, allocations: 3.984 kB / 0.5637 GB, free: 1.691 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.4414, allocations: 27.92 kB / 0.5637 GB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.4414, allocations: 240 / 0.5637 GB, free: 1.664 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.8e-05/0.4415, allocations: 8 kB / 0.5637 GB, free: 1.656 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.4415, allocations: 7.984 kB / 0.5637 GB, free: 1.648 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 (13): * Single equations (assignments): 13 * 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.0001555/0.4416, allocations: 138.4 kB / 0.5638 GB, free: 1.504 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.907e-05/0.4417, allocations: 11.91 kB / 0.5639 GB, free: 1.492 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004365/0.4421, allocations: 194.9 kB / 0.564 GB, free: 1.293 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.4421, allocations: 3.938 kB / 0.564 GB, free: 1.289 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.4421, allocations: 4 kB / 0.5641 GB, free: 1.285 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.4421, allocations: 3.984 kB / 0.5641 GB, free: 1.281 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007223/0.4429, allocations: 430.8 kB / 0.5645 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.4429, allocations: 0 / 0.5645 GB, free: 0.8203 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.902e-05/0.443, allocations: 31.92 kB / 0.5645 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.443, allocations: 4 kB / 0.5645 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.417e-06/0.443, allocations: 0 / 0.5645 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.684e-06/0.443, allocations: 0 / 0.5645 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.443, allocations: 4 kB / 0.5645 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003672/0.4433, allocations: 264.2 kB / 0.5648 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.094e-05/0.4434, allocations: 11.91 kB / 0.5648 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.331e-05/0.4434, allocations: 4 kB / 0.5648 GB, free: 500 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.571e-05/0.4435, allocations: 4 kB / 0.5648 GB, free: 496 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.502e-05/0.4435, allocations: 11.97 kB / 0.5648 GB, free: 484 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.4435, allocations: 11.94 kB / 0.5648 GB, free: 472 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000162/0.4437, allocations: 177.1 kB / 0.565 GB, free: 296 kB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4437, allocations: 0 / 0.565 GB, free: 296 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002799/0.444, allocations: 31.92 kB / 0.565 GB, free: 264 kB / 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 (13): * Single equations (assignments): 13 * 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.001876/0.4458, allocations: 499.7 kB / 0.5655 GB, free: 15.98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003034/0.4461, allocations: 107.9 kB / 0.5656 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.4461, allocations: 4 kB / 0.5656 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001382/0.4463, allocations: 59.91 kB / 0.5656 GB, free: 15.82 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004287/0.4467, allocations: 29.3 kB / 0.5657 GB, free: 15.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006998/0.4474, allocations: 349.4 kB / 0.566 GB, free: 15.41 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001389/0.4476, allocations: 116.9 kB / 0.5661 GB, free: 15.28 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.034e-05/0.4476, allocations: 23.5 kB / 0.5661 GB, free: 15.25 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.4476, allocations: 0 / 0.5661 GB, free: 15.25 MB / 414.1 MB Notification: Performance of Templates: time 0.004838/0.4524, allocations: 2.214 MB / 0.5683 GB, free: 13.04 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test4.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.096620673779398]