Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.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.001388/0.001388, allocations: 112.5 kB / 21.19 MB, free: 0.7617 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.001871/0.001871, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.522/1.522, allocations: 230.6 MB / 258.3 MB, free: 7.965 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.2313/0.2313, allocations: 44.91 MB / 359.6 MB, free: 6.289 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.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3") [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.002356/0.002356, allocations: 67.89 kB / 0.4943 GB, free: 10.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.3278, allocations: 65.46 MB / 0.5583 GB, free: 7.676 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.003347/0.3312, allocations: 1.705 MB / 0.5599 GB, free: 5.996 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.3323, allocations: 0.5776 MB / 0.5605 GB, free: 5.414 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.212e-05/0.3324, allocations: 4 kB / 0.5605 GB, free: 5.41 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006129/0.333, allocations: 451.2 kB / 0.5609 GB, free: 4.969 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004943/0.3335, allocations: 299.2 kB / 0.5612 GB, free: 4.676 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003677/0.3339, allocations: 131.6 kB / 0.5614 GB, free: 4.547 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002698/0.3341, allocations: 183.6 kB / 0.5615 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.3342, allocations: 12.23 kB / 0.5615 GB, free: 4.352 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001373/0.3344, allocations: 119.7 kB / 0.5617 GB, free: 4.234 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002997/0.3347, allocations: 247.5 kB / 0.5619 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.817e-05/0.3347, allocations: 4 kB / 0.5619 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001219/0.3348, allocations: 55.97 kB / 0.5619 GB, free: 3.934 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.3349, allocations: 91.62 kB / 0.562 GB, free: 3.844 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.936e-05/0.335, allocations: 103 kB / 0.5621 GB, free: 3.742 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003718/0.3354, allocations: 273 kB / 0.5624 GB, free: 3.48 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.3354, allocations: 3.984 kB / 0.5624 GB, free: 3.477 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.3354, allocations: 0 / 0.5624 GB, free: 3.477 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.3354, allocations: 7.875 kB / 0.5624 GB, free: 3.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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008172/0.3362, allocations: 0.5932 MB / 0.563 GB, free: 2.844 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.3363, allocations: 8.031 kB / 0.563 GB, free: 2.836 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.81e-05/0.3363, allocations: 48.61 kB / 0.563 GB, free: 2.789 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003101/0.3367, allocations: 250.8 kB / 0.5633 GB, free: 2.52 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.633e-06/0.3367, allocations: 384 / 0.5633 GB, free: 2.52 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.74e-05/0.3367, allocations: 4.375 kB / 0.5633 GB, free: 2.516 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.3369, allocations: 69.73 kB / 0.5633 GB, free: 2.441 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.3369, allocations: 0 / 0.5633 GB, free: 2.441 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.3369, allocations: 0 / 0.5633 GB, free: 2.441 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.3369, allocations: 4 kB / 0.5633 GB, free: 2.438 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001417/0.337, allocations: 35.95 kB / 0.5634 GB, free: 2.402 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005434/0.3376, allocations: 383.6 kB / 0.5638 GB, free: 1.984 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002449/0.3378, allocations: 46.56 kB / 0.5638 GB, free: 1.93 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.816e-05/0.3379, allocations: 24.97 kB / 0.5638 GB, free: 1.902 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.3379, allocations: 3.984 kB / 0.5638 GB, free: 1.898 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.338, allocations: 38.56 kB / 0.5639 GB, free: 1.852 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.338, allocations: 0 / 0.5639 GB, free: 1.852 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.001551/0.3395, allocations: 484.6 kB / 0.5643 GB, free: 1.371 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.3396, allocations: 59.34 kB / 0.5644 GB, free: 1.301 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009634/0.3405, allocations: 0.8575 MB / 0.5652 GB, free: 440 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.42e-05/0.3405, allocations: 29.7 kB / 0.5652 GB, free: 404 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001929/0.3407, allocations: 216 kB / 0.5654 GB, free: 184 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.017e-05/0.3408, allocations: 35.69 kB / 0.5655 GB, free: 148 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.284e-05/0.3408, allocations: 25.72 kB / 0.5655 GB, free: 116 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002096/0.341, allocations: 362.8 kB / 0.5659 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/0.3412, allocations: 39.97 kB / 0.5659 GB, free: 15.71 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.3413, allocations: 47.97 kB / 0.5659 GB, free: 15.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002543/0.3416, allocations: 97.12 kB / 0.566 GB, free: 15.57 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.3416, allocations: 0 / 0.566 GB, free: 15.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003748/0.3419, allocations: 185.2 kB / 0.5662 GB, free: 15.38 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.342, allocations: 8 kB / 0.5662 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.342, allocations: 0 / 0.5662 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.342, allocations: 4 kB / 0.5662 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.3421, allocations: 31.91 kB / 0.5662 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.3421, allocations: 0 / 0.5662 GB, free: 15.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.355e-05/0.3422, allocations: 4 kB / 0.5663 GB, free: 15.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.3422, allocations: 4 kB / 0.5663 GB, free: 15.33 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 (11): * Single equations (assignments): 11 * 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.0002291/0.3424, allocations: 221.8 kB / 0.5665 GB, free: 15.1 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.261e-05/0.3425, allocations: 51.61 kB / 0.5665 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000481/0.343, allocations: 197.4 kB / 0.5667 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/0.343, allocations: 3.938 kB / 0.5667 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.343, allocations: 7.984 kB / 0.5667 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.343, allocations: 3.984 kB / 0.5667 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008781/0.3439, allocations: 0.538 MB / 0.5672 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.3439, allocations: 4 kB / 0.5672 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.344, allocations: 31.97 kB / 0.5673 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.344, allocations: 0 / 0.5673 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.344, allocations: 4 kB / 0.5673 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.344, allocations: 0 / 0.5673 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.344, allocations: 8 kB / 0.5673 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004382/0.3445, allocations: 284.8 kB / 0.5676 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.54e-05/0.3445, allocations: 35.81 kB / 0.5676 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.78e-05/0.3445, allocations: 7.938 kB / 0.5676 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.3446, allocations: 12.17 kB / 0.5676 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.169e-05/0.3447, allocations: 15.98 kB / 0.5676 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.846e-06/0.3447, allocations: 4 kB / 0.5676 GB, free: 13.81 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006628/0.3454, allocations: 0.6472 MB / 0.5683 GB, free: 13.17 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3454, allocations: 0 / 0.5683 GB, free: 13.17 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003042/0.3457, allocations: 39.88 kB / 0.5683 GB, free: 13.13 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001809/0.3475, allocations: 472.2 kB / 0.5688 GB, free: 12.85 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.000386/0.3479, allocations: 107.8 kB / 0.5689 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3479, allocations: 0 / 0.5689 GB, free: 12.74 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000147/0.348, allocations: 55.89 kB / 0.5689 GB, free: 12.69 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004459/0.3485, allocations: 33.89 kB / 0.5689 GB, free: 12.65 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001461/0.3499, allocations: 0.8882 MB / 0.5698 GB, free: 11.73 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005254/0.3505, allocations: 0.8299 MB / 0.5706 GB, free: 10.87 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.937e-05/0.3505, allocations: 15.44 kB / 0.5706 GB, free: 10.86 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3505, allocations: 0 / 0.5706 GB, free: 10.86 MB / 414.1 MB Notification: Performance of Templates: time 0.008351/0.3589, allocations: 4.111 MB / 0.5747 GB, free: 6.742 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.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: 7.892778316047043]