Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001055/0.001055, allocations: 182.8 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.457/1.457, allocations: 205.2 MB / 218.9 MB, free: 9.215 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008314/0.0008315, allocations: 97.84 kB / 267.1 MB, free: 9.285 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3737/0.3737, allocations: 43.47 MB / 358.6 MB, free: 51.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.714e-05/4.721e-05, allocations: 8 kB / 425.3 MB, free: 8.195 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1211, allocations: 58.84 MB / 484.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3955/0.5167, allocations: 87.2 MB / 0.558 GB, free: 16.78 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002514/0.517, allocations: 73.36 kB / 0.558 GB, free: 16.75 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01575/0.5328, allocations: 8.106 MB / 0.566 GB, free: 11.16 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5328, allocations: 0 / 0.566 GB, free: 11.16 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.909e-05/0.5329, allocations: 4 kB / 0.566 GB, free: 11.16 MB / 394.7 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.0004505/0.5333, allocations: 0.5538 MB / 0.5665 GB, free: 10.58 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.5334, allocations: 12.03 kB / 0.5665 GB, free: 10.57 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.259e-05/0.5334, allocations: 39.44 kB / 0.5665 GB, free: 10.53 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004303/0.5339, allocations: 330.4 kB / 0.5669 GB, free: 10.18 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.5339, allocations: 4 kB / 0.5669 GB, free: 10.18 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.36e-05/0.5339, allocations: 0 / 0.5669 GB, free: 10.18 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/0.5341, allocations: 55.27 kB / 0.5669 GB, free: 10.12 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.5341, allocations: 0 / 0.5669 GB, free: 10.12 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.5341, allocations: 8 kB / 0.5669 GB, free: 10.12 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.5341, allocations: 0 / 0.5669 GB, free: 10.12 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.238e-05/0.5342, allocations: 27.75 kB / 0.567 GB, free: 10.1 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000583/0.5348, allocations: 438.2 kB / 0.5674 GB, free: 9.676 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000182/0.535, allocations: 41.83 kB / 0.5674 GB, free: 9.633 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.63e-05/0.535, allocations: 20.67 kB / 0.5674 GB, free: 9.613 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.259e-05/0.535, allocations: 0 / 0.5674 GB, free: 9.613 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.822e-05/0.535, allocations: 34.52 kB / 0.5675 GB, free: 9.57 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 8.31e-07/0.535, allocations: 0 / 0.5675 GB, free: 9.57 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004386/0.5355, allocations: 199.5 kB / 0.5677 GB, free: 9.383 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/0.5355, allocations: 51.41 kB / 0.5677 GB, free: 9.32 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009299/0.5365, allocations: 0.7873 MB / 0.5685 GB, free: 8.707 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.098e-05/0.5365, allocations: 25.7 kB / 0.5685 GB, free: 8.676 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.5366, allocations: 218.3 kB / 0.5687 GB, free: 8.555 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.225e-05/0.5367, allocations: 25.73 kB / 0.5687 GB, free: 8.535 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-06/0.5367, allocations: 0 / 0.5687 GB, free: 8.535 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.825e-05/0.5368, allocations: 357.6 kB / 0.5691 GB, free: 8.195 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.559e-05/0.5368, allocations: 11.44 kB / 0.5691 GB, free: 8.188 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.113e-05/0.5368, allocations: 19.17 kB / 0.5691 GB, free: 8.172 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.896e-05/0.5368, allocations: 13.81 kB / 0.5691 GB, free: 8.164 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-07/0.5369, allocations: 4 kB / 0.5691 GB, free: 8.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001176/0.537, allocations: 107.4 kB / 0.5692 GB, free: 8.059 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.537, allocations: 7.953 kB / 0.5692 GB, free: 8.051 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.537, allocations: 0 / 0.5692 GB, free: 8.051 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.537, allocations: 4 kB / 0.5692 GB, free: 8.047 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.543e-05/0.5371, allocations: 11.98 kB / 0.5692 GB, free: 8.035 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.5371, allocations: 4 kB / 0.5692 GB, free: 8.031 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.166e-05/0.5372, allocations: 7.375 kB / 0.5693 GB, free: 8.027 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.436e-06/0.5372, allocations: 8.859 kB / 0.5693 GB, free: 8.02 MB / 394.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.656e-05/0.5373, allocations: 108.9 kB / 0.5694 GB, free: 7.906 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.093e-05/0.5373, allocations: 43.44 kB / 0.5694 GB, free: 7.863 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001787/0.5375, allocations: 124.7 kB / 0.5695 GB, free: 7.758 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.063e-06/0.5375, allocations: 0 / 0.5695 GB, free: 7.758 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.5375, allocations: 0 / 0.5695 GB, free: 7.758 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.5375, allocations: 3.938 kB / 0.5695 GB, free: 7.754 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006229/0.5382, allocations: 0.5852 MB / 0.5701 GB, free: 7.191 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.5382, allocations: 3.953 kB / 0.5701 GB, free: 7.188 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.501e-05/0.5382, allocations: 12 kB / 0.5701 GB, free: 7.176 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.5383, allocations: 1.406 kB / 0.5701 GB, free: 7.176 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.596e-06/0.5383, allocations: 3.438 kB / 0.5701 GB, free: 7.176 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.5383, allocations: 0 / 0.5701 GB, free: 7.176 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.5383, allocations: 4 kB / 0.5701 GB, free: 7.172 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001402/0.5384, allocations: 201.8 kB / 0.5703 GB, free: 6.969 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001848/0.5386, allocations: 162.1 kB / 0.5705 GB, free: 6.801 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.567e-05/0.5387, allocations: 0 / 0.5705 GB, free: 6.801 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.5388, allocations: 14.88 kB / 0.5705 GB, free: 6.789 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.395e-05/0.5388, allocations: 3.984 kB / 0.5705 GB, free: 6.785 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.5388, allocations: 4 kB / 0.5705 GB, free: 6.781 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005135/0.5393, allocations: 0.6353 MB / 0.5711 GB, free: 6.324 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5394, allocations: 0 / 0.5711 GB, free: 6.324 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002694/0.5396, allocations: 63.16 kB / 0.5712 GB, free: 6.266 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007713/0.5404, allocations: 373.7 kB / 0.5715 GB, free: 5.969 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001101/0.5405, allocations: 30.31 kB / 0.5716 GB, free: 5.949 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.5405, allocations: 0 / 0.5716 GB, free: 5.949 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.293e-05/0.5406, allocations: 30.42 kB / 0.5716 GB, free: 5.926 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003003/0.5409, allocations: 19.89 kB / 0.5716 GB, free: 5.918 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008491/0.5417, allocations: 0.7177 MB / 0.5723 GB, free: 5.258 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002276/0.542, allocations: 0.8367 MB / 0.5731 GB, free: 4.41 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.866e-05/0.5421, allocations: 44.22 kB / 0.5732 GB, free: 4.367 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.067e-05/0.5421, allocations: 19.44 kB / 0.5732 GB, free: 4.348 MB / 394.7 MB Notification: Performance of SimCode: time 3.71e-07/0.5421, allocations: 4 kB / 0.5732 GB, free: 4.344 MB / 394.7 MB Notification: Performance of Templates: time 0.005272/0.5474, allocations: 2.456 MB / 0.5756 GB, free: 1.891 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches