Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.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.001376/0.001376, allocations: 107 kB / 21.18 MB, free: 0.6484 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.001447/0.001447, allocations: 215.4 kB / 24.48 MB, free: 3.941 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.454/1.454, allocations: 230.6 MB / 258.3 MB, free: 7.73 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2357/0.2357, allocations: 46.96 MB / 361.6 MB, free: 3.984 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.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.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable1Dv.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.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 59.91 kB / 0.4973 GB, free: 7.141 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3448/0.3467, allocations: 66.04 MB / 0.5618 GB, free: 4.133 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.003254/0.35, allocations: 1.613 MB / 0.5634 GB, free: 2.508 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001065/0.351, allocations: 0.531 MB / 0.5639 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.27e-05/0.3511, allocations: 0 / 0.5639 GB, free: 1.973 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003565/0.3515, allocations: 127.7 kB / 0.5641 GB, free: 1.848 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003196/0.3518, allocations: 127.5 kB / 0.5642 GB, free: 1.723 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003246/0.3521, allocations: 115.3 kB / 0.5643 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001892/0.3523, allocations: 103.7 kB / 0.5644 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.3524, allocations: 18.64 kB / 0.5644 GB, free: 1.496 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.847e-05/0.3525, allocations: 39.91 kB / 0.5644 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001706/0.3526, allocations: 99.75 kB / 0.5645 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.3527, allocations: 0 / 0.5645 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.3528, allocations: 47.97 kB / 0.5646 GB, free: 1.312 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.682e-05/0.3528, allocations: 35.86 kB / 0.5646 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.03e-05/0.3529, allocations: 27.69 kB / 0.5646 GB, free: 1.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002284/0.3531, allocations: 123.2 kB / 0.5648 GB, free: 1.133 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3531, allocations: 0 / 0.5648 GB, free: 1.133 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3531, allocations: 0 / 0.5648 GB, free: 1.133 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.3531, allocations: 0 / 0.5648 GB, free: 1.133 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.0005732/0.3537, allocations: 365.4 kB / 0.5651 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.3537, allocations: 8.031 kB / 0.5651 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.7e-05/0.3538, allocations: 20.78 kB / 0.5651 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001922/0.354, allocations: 162.4 kB / 0.5653 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.354, allocations: 8.312 kB / 0.5653 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.385e-05/0.354, allocations: 12.36 kB / 0.5653 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.3541, allocations: 57.78 kB / 0.5654 GB, free: 464 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.3542, allocations: 4 kB / 0.5654 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.176e-06/0.3542, allocations: 0 / 0.5654 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.3542, allocations: 4 kB / 0.5654 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.754e-05/0.3543, allocations: 23.97 kB / 0.5654 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003836/0.3546, allocations: 248.4 kB / 0.5656 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.3548, allocations: 46.55 kB / 0.5657 GB, free: 96 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.246e-05/0.3548, allocations: 20.86 kB / 0.5657 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.3548, allocations: 4.078 kB / 0.5657 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.436e-05/0.3549, allocations: 34.56 kB / 0.5657 GB, free: 24 kB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 9.528e-06/0.3549, allocations: 0 / 0.5657 GB, free: 24 kB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009487/0.3558, allocations: 257.2 kB / 0.566 GB, free: 15.76 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.499e-05/0.3559, allocations: 51.41 kB / 0.566 GB, free: 15.7 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002901/0.3562, allocations: 275.8 kB / 0.5663 GB, free: 15.41 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.3562, allocations: 25.7 kB / 0.5663 GB, free: 15.38 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.673e-05/0.3563, allocations: 112.1 kB / 0.5664 GB, free: 15.27 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.814e-05/0.3563, allocations: 39.73 kB / 0.5665 GB, free: 15.23 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.952e-05/0.3563, allocations: 17.72 kB / 0.5665 GB, free: 15.2 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.3565, allocations: 334.8 kB / 0.5668 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.787e-05/0.3566, allocations: 31.97 kB / 0.5668 GB, free: 14.84 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.5e-05/0.3567, allocations: 23.98 kB / 0.5668 GB, free: 14.81 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001691/0.3568, allocations: 76.81 kB / 0.5669 GB, free: 14.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.3568, allocations: 0 / 0.5669 GB, free: 14.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002399/0.3571, allocations: 117.6 kB / 0.567 GB, free: 14.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.3571, allocations: 4 kB / 0.567 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.3571, allocations: 4 kB / 0.567 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.3571, allocations: 0 / 0.567 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.3572, allocations: 27.75 kB / 0.5671 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.3572, allocations: 4 kB / 0.5671 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.79e-05/0.3573, allocations: 7.984 kB / 0.5671 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.407e-06/0.3573, allocations: 3.938 kB / 0.5671 GB, free: 14.57 MB / 414.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.0001165/0.3574, allocations: 135.1 kB / 0.5672 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.011e-05/0.3574, allocations: 15.91 kB / 0.5672 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002969/0.3577, allocations: 139.3 kB / 0.5674 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.3577, allocations: 4 kB / 0.5674 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.3577, allocations: 0 / 0.5674 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3577, allocations: 0 / 0.5674 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005519/0.3583, allocations: 374.9 kB / 0.5677 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.3583, allocations: 3.984 kB / 0.5677 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.759e-05/0.3584, allocations: 12 kB / 0.5677 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.3584, allocations: 4.422 kB / 0.5677 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.3584, allocations: 3.984 kB / 0.5677 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.3584, allocations: 3.938 kB / 0.5677 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3584, allocations: 0 / 0.5677 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002963/0.3587, allocations: 224.2 kB / 0.568 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.462e-05/0.3587, allocations: 19.89 kB / 0.568 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.3587, allocations: 0 / 0.568 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.679e-05/0.3588, allocations: 11.92 kB / 0.568 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.314e-05/0.3588, allocations: 7.984 kB / 0.568 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.093e-06/0.3588, allocations: 4 kB / 0.568 GB, free: 13.55 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001925/0.359, allocations: 212.1 kB / 0.5682 GB, free: 13.34 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.359, allocations: 0 / 0.5682 GB, free: 13.34 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002529/0.3593, allocations: 27.92 kB / 0.5682 GB, free: 13.31 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: 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.001779/0.3611, allocations: 497.9 kB / 0.5687 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000232/0.3613, allocations: 71.89 kB / 0.5688 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3613, allocations: 0 / 0.5688 GB, free: 12.96 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.443e-05/0.3614, allocations: 39.92 kB / 0.5688 GB, free: 12.93 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003564/0.3618, allocations: 32.3 kB / 0.5688 GB, free: 12.9 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006964/0.3625, allocations: 320.2 kB / 0.5692 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001187/0.3626, allocations: 105.2 kB / 0.5693 GB, free: 12.43 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.715e-05/0.3626, allocations: 24.95 kB / 0.5693 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.782e-05/0.3627, allocations: 19.42 kB / 0.5693 GB, free: 12.39 MB / 414.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3627, allocations: 0 / 0.5693 GB, free: 12.39 MB / 414.1 MB Notification: Performance of Templates: time 0.004684/0.3674, allocations: 1.509 MB / 0.5708 GB, free: 10.89 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.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: 4.968720806995407]