Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.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.001384/0.001384, 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.001524/0.001524, allocations: 215.6 kB / 24.48 MB, free: 3.84 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.501/1.501, allocations: 230.6 MB / 258.2 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.2454/0.2454, allocations: 44.93 MB / 359.6 MB, free: 6.07 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.CombiTable1Ds.Test31,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.CombiTable1Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test31,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.CombiTable1Ds.Test31") [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.003383/0.003383, allocations: 67.89 kB / 0.4943 GB, free: 10.03 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3262, allocations: 65.49 MB / 0.5582 GB, free: 7.332 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test31): time 0.003097/0.3292, allocations: 1.601 MB / 0.5598 GB, free: 5.719 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001076/0.3303, allocations: 0.5231 MB / 0.5603 GB, free: 5.191 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.47e-05/0.3304, allocations: 0 / 0.5603 GB, free: 5.191 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003084/0.3307, allocations: 131.6 kB / 0.5604 GB, free: 5.062 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003275/0.331, allocations: 127.5 kB / 0.5605 GB, free: 4.938 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002514/0.3313, allocations: 83.77 kB / 0.5606 GB, free: 4.855 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001868/0.3315, allocations: 107.7 kB / 0.5607 GB, free: 4.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.993e-05/0.3316, allocations: 15.66 kB / 0.5607 GB, free: 4.738 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.458e-05/0.3316, allocations: 47.88 kB / 0.5608 GB, free: 4.691 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000143/0.3318, allocations: 99.64 kB / 0.5609 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.3318, allocations: 4 kB / 0.5609 GB, free: 4.59 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001057/0.3319, allocations: 43.97 kB / 0.5609 GB, free: 4.547 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.943e-05/0.332, allocations: 23.92 kB / 0.5609 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.469e-05/0.332, allocations: 31.73 kB / 0.561 GB, free: 4.492 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002096/0.3322, allocations: 122.2 kB / 0.5611 GB, free: 4.375 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.3322, allocations: 0 / 0.5611 GB, free: 4.375 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3322, allocations: 0 / 0.5611 GB, free: 4.375 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.3322, allocations: 0 / 0.5611 GB, free: 4.375 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.0005274/0.3327, allocations: 373.3 kB / 0.5614 GB, free: 3.98 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.3328, allocations: 12.03 kB / 0.5615 GB, free: 3.969 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.893e-05/0.3328, allocations: 12.84 kB / 0.5615 GB, free: 3.957 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002183/0.333, allocations: 166.4 kB / 0.5616 GB, free: 3.77 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.971e-06/0.333, allocations: 384 / 0.5616 GB, free: 3.77 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.412e-05/0.3331, allocations: 4.375 kB / 0.5616 GB, free: 3.766 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.3332, allocations: 53.81 kB / 0.5617 GB, free: 3.707 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.137e-05/0.3332, allocations: 0 / 0.5617 GB, free: 3.707 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.3332, allocations: 7.984 kB / 0.5617 GB, free: 3.699 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.3332, allocations: 4 kB / 0.5617 GB, free: 3.695 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.735e-05/0.3333, allocations: 35.84 kB / 0.5617 GB, free: 3.66 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003806/0.3337, allocations: 244.5 kB / 0.562 GB, free: 3.391 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001165/0.3338, allocations: 42.56 kB / 0.562 GB, free: 3.34 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.293e-05/0.3339, allocations: 20.94 kB / 0.562 GB, free: 3.316 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.3339, allocations: 7.938 kB / 0.562 GB, free: 3.309 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.3339, allocations: 30.56 kB / 0.5621 GB, free: 3.27 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.3339, allocations: 0 / 0.5621 GB, free: 3.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008735/0.3348, allocations: 237.1 kB / 0.5623 GB, free: 3.031 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.3348, allocations: 51.41 kB / 0.5623 GB, free: 2.969 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003053/0.3352, allocations: 275.8 kB / 0.5626 GB, free: 2.68 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.631e-05/0.3352, allocations: 25.7 kB / 0.5626 GB, free: 2.648 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.829e-05/0.3353, allocations: 112.1 kB / 0.5627 GB, free: 2.535 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.379e-05/0.3353, allocations: 27.75 kB / 0.5628 GB, free: 2.508 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.316e-05/0.3353, allocations: 21.7 kB / 0.5628 GB, free: 2.48 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.3355, allocations: 338.8 kB / 0.5631 GB, free: 2.141 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.604e-05/0.3356, allocations: 23.92 kB / 0.5631 GB, free: 2.117 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.285e-05/0.3357, allocations: 32.05 kB / 0.5632 GB, free: 2.086 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001575/0.3358, allocations: 68.98 kB / 0.5632 GB, free: 2.016 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.91e-07/0.3358, allocations: 0 / 0.5632 GB, free: 2.016 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002255/0.336, allocations: 101.6 kB / 0.5633 GB, free: 1.91 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.3361, allocations: 8 kB / 0.5633 GB, free: 1.902 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.3361, allocations: 0 / 0.5633 GB, free: 1.902 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.3361, allocations: 0 / 0.5633 GB, free: 1.902 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.3362, allocations: 19.98 kB / 0.5633 GB, free: 1.883 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.3362, allocations: 0 / 0.5633 GB, free: 1.883 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.648e-05/0.3362, allocations: 8 kB / 0.5634 GB, free: 1.875 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.3362, allocations: 3.938 kB / 0.5634 GB, free: 1.871 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.0001278/0.3364, allocations: 139.1 kB / 0.5635 GB, free: 1.727 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.25e-05/0.3364, allocations: 19.89 kB / 0.5635 GB, free: 1.707 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002878/0.3367, allocations: 119 kB / 0.5636 GB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.3367, allocations: 0 / 0.5636 GB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3367, allocations: 0 / 0.5636 GB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.3367, allocations: 0 / 0.5636 GB, free: 1.582 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00053/0.3372, allocations: 358.9 kB / 0.564 GB, free: 1.191 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.3372, allocations: 0 / 0.564 GB, free: 1.191 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.096e-05/0.3373, allocations: 19.98 kB / 0.564 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.3373, allocations: 0 / 0.564 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.824e-06/0.3373, allocations: 7.969 kB / 0.564 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.676e-06/0.3373, allocations: 7.938 kB / 0.564 GB, free: 1.156 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.3373, allocations: 4 kB / 0.564 GB, free: 1.152 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000276/0.3376, allocations: 204.3 kB / 0.5642 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.284e-05/0.3376, allocations: 12.33 kB / 0.5642 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.307e-05/0.3377, allocations: 15.92 kB / 0.5642 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.721e-05/0.3377, allocations: 7.938 kB / 0.5642 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.234e-05/0.3378, allocations: 3.984 kB / 0.5642 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.094e-06/0.3378, allocations: 4 kB / 0.5642 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002066/0.338, allocations: 216.1 kB / 0.5644 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.338, allocations: 0 / 0.5644 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002621/0.3382, allocations: 23.92 kB / 0.5645 GB, free: 0.6562 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.001841/0.3401, allocations: 499.4 kB / 0.5649 GB, free: 388 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002267/0.3403, allocations: 59.95 kB / 0.565 GB, free: 328 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3403, allocations: 0 / 0.565 GB, free: 328 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.974e-05/0.3404, allocations: 35.91 kB / 0.565 GB, free: 292 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003755/0.3408, allocations: 31.64 kB / 0.5651 GB, free: 260 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006555/0.3414, allocations: 338 kB / 0.5654 GB, free: 15.89 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001096/0.3415, allocations: 101.1 kB / 0.5655 GB, free: 15.77 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.998e-05/0.3416, allocations: 15.44 kB / 0.5655 GB, free: 15.75 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3416, allocations: 0 / 0.5655 GB, free: 15.75 MB / 414.1 MB Notification: Performance of Templates: time 0.004043/0.3456, allocations: 1.951 MB / 0.5674 GB, free: 13.8 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test31.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.187396145891398]