Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test15.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test15") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009939/0.000994, allocations: 197.7 kB / 16.78 MB, free: 5.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.266/1.266, allocations: 226.5 MB / 244.1 MB, free: 6.477 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007615/0.0007615, allocations: 94.7 kB / 296.1 MB, free: 6.688 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3143/0.3143, allocations: 44.82 MB / 392.9 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003543/0.0003543, allocations: 8 kB / 465.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.316, allocations: 62.95 MB / 0.5165 GB, free: 37.2 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.112/0.428, allocations: 89.49 MB / 0.6039 GB, free: 15.93 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002151/0.4283, allocations: 75.95 kB / 0.6039 GB, free: 15.86 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0131/0.4414, allocations: 5.134 MB / 0.6089 GB, free: 10.71 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.906e-06/0.4415, allocations: 0 / 0.6089 GB, free: 10.71 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.147e-05/0.4415, allocations: 11.94 kB / 0.609 GB, free: 10.7 MB / 426.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.0004158/0.4419, allocations: 435.3 kB / 0.6094 GB, free: 10.23 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.363e-05/0.4419, allocations: 8.875 kB / 0.6094 GB, free: 10.22 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.694e-05/0.442, allocations: 12.75 kB / 0.6094 GB, free: 10.21 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002445/0.4422, allocations: 204.8 kB / 0.6096 GB, free: 9.965 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.4423, allocations: 4.375 kB / 0.6096 GB, free: 9.961 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.023e-05/0.4423, allocations: 8.359 kB / 0.6096 GB, free: 9.953 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.4424, allocations: 66.17 kB / 0.6097 GB, free: 9.883 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.4424, allocations: 192 / 0.6097 GB, free: 9.883 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.4425, allocations: 3.938 kB / 0.6097 GB, free: 9.879 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.4425, allocations: 0 / 0.6097 GB, free: 9.879 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.446e-05/0.4426, allocations: 31.97 kB / 0.6097 GB, free: 9.848 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004458/0.443, allocations: 312.7 kB / 0.61 GB, free: 9.492 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/0.4431, allocations: 46.5 kB / 0.61 GB, free: 9.438 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.062e-05/0.4432, allocations: 20.94 kB / 0.6101 GB, free: 9.414 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.4432, allocations: 4 kB / 0.6101 GB, free: 9.41 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.903e-05/0.4432, allocations: 30.56 kB / 0.6101 GB, free: 9.371 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.4432, allocations: 4 kB / 0.6101 GB, free: 9.367 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008916/0.4441, allocations: 266.6 kB / 0.6103 GB, free: 9.102 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.881e-05/0.4442, allocations: 55.48 kB / 0.6104 GB, free: 9.035 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000188/0.4444, allocations: 208.1 kB / 0.6106 GB, free: 8.824 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.4444, allocations: 33.64 kB / 0.6106 GB, free: 8.785 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.959e-05/0.4445, allocations: 116 kB / 0.6107 GB, free: 8.668 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.645e-05/0.4445, allocations: 19.7 kB / 0.6108 GB, free: 8.648 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.641e-06/0.4445, allocations: 8 kB / 0.6108 GB, free: 8.641 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.9e-05/0.4446, allocations: 326.8 kB / 0.6111 GB, free: 8.312 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.224e-05/0.4447, allocations: 27.98 kB / 0.6111 GB, free: 8.285 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.128e-05/0.4448, allocations: 47.84 kB / 0.6112 GB, free: 8.238 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001582/0.4449, allocations: 76.83 kB / 0.6112 GB, free: 8.16 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.81e-07/0.4449, allocations: 0 / 0.6112 GB, free: 8.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002082/0.4452, allocations: 125.5 kB / 0.6113 GB, free: 8.031 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.4452, allocations: 4 kB / 0.6113 GB, free: 8.027 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.4452, allocations: 4 kB / 0.6114 GB, free: 8.023 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.938e-06/0.4452, allocations: 96 / 0.6114 GB, free: 8.023 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.513e-05/0.4453, allocations: 23.97 kB / 0.6114 GB, free: 8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.4453, allocations: 0 / 0.6114 GB, free: 8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.412e-05/0.4454, allocations: 11.88 kB / 0.6114 GB, free: 7.988 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.286e-06/0.4454, allocations: 8 kB / 0.6114 GB, free: 7.98 MB / 426.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.289e-05/0.4455, allocations: 129.8 kB / 0.6115 GB, free: 7.844 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.447e-05/0.4455, allocations: 11.91 kB / 0.6115 GB, free: 7.832 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002738/0.4458, allocations: 134.9 kB / 0.6117 GB, free: 7.695 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.4458, allocations: 7.984 kB / 0.6117 GB, free: 7.688 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.4458, allocations: 4 kB / 0.6117 GB, free: 7.684 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.4458, allocations: 0 / 0.6117 GB, free: 7.684 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005384/0.4464, allocations: 443.6 kB / 0.6121 GB, free: 7.191 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.4464, allocations: 4.031 kB / 0.6121 GB, free: 7.188 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.083e-05/0.4465, allocations: 23.94 kB / 0.6121 GB, free: 7.164 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.4465, allocations: 0 / 0.6121 GB, free: 7.164 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.4465, allocations: 7.922 kB / 0.6121 GB, free: 7.156 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.4465, allocations: 4 kB / 0.6121 GB, free: 7.152 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4465, allocations: 0 / 0.6121 GB, free: 7.152 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002469/0.4467, allocations: 220.3 kB / 0.6123 GB, free: 6.918 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.364e-05/0.4468, allocations: 96.91 kB / 0.6124 GB, free: 6.805 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.4468, allocations: 7.938 kB / 0.6124 GB, free: 6.797 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.21e-05/0.4469, allocations: 4 kB / 0.6124 GB, free: 6.793 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.567e-05/0.447, allocations: 11.92 kB / 0.6125 GB, free: 6.781 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.782e-06/0.447, allocations: 8 kB / 0.6125 GB, free: 6.773 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000121/0.4471, allocations: 155.2 kB / 0.6126 GB, free: 6.621 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4471, allocations: 0 / 0.6126 GB, free: 6.621 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000249/0.4474, allocations: 39.92 kB / 0.6126 GB, free: 6.582 MB / 426.7 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 (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.001029/0.4484, allocations: 459.5 kB / 0.6131 GB, free: 6.289 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002426/0.4486, allocations: 75.95 kB / 0.6132 GB, free: 6.215 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4487, allocations: 3.938 kB / 0.6132 GB, free: 6.211 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.4488, allocations: 44.05 kB / 0.6132 GB, free: 6.168 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002975/0.4491, allocations: 19.08 kB / 0.6132 GB, free: 6.152 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005149/0.4496, allocations: 324 kB / 0.6135 GB, free: 5.801 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002413/0.4498, allocations: 0.7121 MB / 0.6142 GB, free: 5.062 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.275e-05/0.4499, allocations: 15.44 kB / 0.6142 GB, free: 5.047 MB / 426.7 MB Notification: Performance of SimCode: time 2.9e-07/0.4499, allocations: 3.938 kB / 0.6142 GB, free: 5.043 MB / 426.7 MB Notification: Performance of Templates: time 0.003099/0.453, allocations: 1.861 MB / 0.6161 GB, free: 3.176 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test15.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test15.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test15 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test15/Test15.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches