Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test34.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.CombiTable1Ds.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test34") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001572/0.001572, allocations: 190.4 kB / 16.78 MB, free: 4.91 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.278/1.278, allocations: 226.5 MB / 244.1 MB, free: 8.176 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007366/0.0007366, allocations: 103.3 kB / 296.1 MB, free: 6.887 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3537/0.3537, allocations: 44.82 MB / 392.9 MB, free: 35.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000443/0.0004431, allocations: 11.98 kB / 465.9 MB, free: 12.72 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.3106, allocations: 62.95 MB / 0.5165 GB, free: 36.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1119/0.4226, allocations: 89.39 MB / 0.6038 GB, free: 15.99 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002261/0.4229, allocations: 71.95 kB / 0.6038 GB, free: 15.92 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01266/0.4355, allocations: 5.114 MB / 0.6088 GB, free: 10.8 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.858e-06/0.4356, allocations: 0 / 0.6088 GB, free: 10.8 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.176e-05/0.4356, allocations: 7.938 kB / 0.6088 GB, free: 10.79 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.0004723/0.4361, allocations: 431.3 kB / 0.6092 GB, free: 10.32 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.4361, allocations: 8.875 kB / 0.6092 GB, free: 10.31 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.95e-05/0.4362, allocations: 16.75 kB / 0.6093 GB, free: 10.3 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002794/0.4365, allocations: 208.8 kB / 0.6095 GB, free: 10.05 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.4365, allocations: 4.375 kB / 0.6095 GB, free: 10.05 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.99e-05/0.4365, allocations: 4.375 kB / 0.6095 GB, free: 10.04 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.4367, allocations: 62.17 kB / 0.6095 GB, free: 9.977 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.4367, allocations: 192 / 0.6095 GB, free: 9.977 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.4367, allocations: 3.938 kB / 0.6095 GB, free: 9.973 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.4367, allocations: 0 / 0.6095 GB, free: 9.973 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.068e-05/0.4368, allocations: 31.97 kB / 0.6096 GB, free: 9.941 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003519/0.4372, allocations: 312.7 kB / 0.6099 GB, free: 9.586 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.363e-05/0.4373, allocations: 42.5 kB / 0.6099 GB, free: 9.535 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.861e-05/0.4373, allocations: 20.94 kB / 0.6099 GB, free: 9.512 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.4374, allocations: 4 kB / 0.6099 GB, free: 9.508 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.4374, allocations: 34.56 kB / 0.61 GB, free: 9.465 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.223e-06/0.4374, allocations: 0 / 0.61 GB, free: 9.465 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008241/0.4382, allocations: 246.3 kB / 0.6102 GB, free: 9.219 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/0.4383, allocations: 55.41 kB / 0.6102 GB, free: 9.152 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001933/0.4385, allocations: 208.1 kB / 0.6104 GB, free: 8.941 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.4385, allocations: 29.7 kB / 0.6105 GB, free: 8.906 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.029e-05/0.4386, allocations: 112 kB / 0.6106 GB, free: 8.793 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.317e-05/0.4386, allocations: 19.7 kB / 0.6106 GB, free: 8.773 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.668e-06/0.4386, allocations: 0 / 0.6106 GB, free: 8.773 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.4387, allocations: 330.8 kB / 0.6109 GB, free: 8.441 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.375e-05/0.4388, allocations: 31.92 kB / 0.6109 GB, free: 8.41 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.805e-05/0.4389, allocations: 31.92 kB / 0.611 GB, free: 8.379 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.439, allocations: 72.84 kB / 0.611 GB, free: 8.305 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.439, allocations: 0 / 0.611 GB, free: 8.305 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002042/0.4392, allocations: 117.7 kB / 0.6112 GB, free: 8.184 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.4392, allocations: 4 kB / 0.6112 GB, free: 8.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.4393, allocations: 80 / 0.6112 GB, free: 8.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.4393, allocations: 4 kB / 0.6112 GB, free: 8.176 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.587e-05/0.4394, allocations: 15.98 kB / 0.6112 GB, free: 8.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.4394, allocations: 7.984 kB / 0.6112 GB, free: 8.152 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.854e-05/0.4394, allocations: 19.88 kB / 0.6112 GB, free: 8.133 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.4395, allocations: 0 / 0.6112 GB, free: 8.133 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.192e-05/0.4396, allocations: 129.8 kB / 0.6113 GB, free: 7.996 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.295e-05/0.4396, allocations: 11.91 kB / 0.6113 GB, free: 7.984 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002508/0.4398, allocations: 123 kB / 0.6115 GB, free: 7.859 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.4399, allocations: 8 kB / 0.6115 GB, free: 7.852 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.4399, allocations: 0 / 0.6115 GB, free: 7.852 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.4399, allocations: 0 / 0.6115 GB, free: 7.852 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005034/0.4404, allocations: 431.2 kB / 0.6119 GB, free: 7.371 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.4404, allocations: 0 / 0.6119 GB, free: 7.371 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.776e-05/0.4405, allocations: 23.92 kB / 0.6119 GB, free: 7.348 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.4405, allocations: 0 / 0.6119 GB, free: 7.348 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.298e-06/0.4405, allocations: 3.938 kB / 0.6119 GB, free: 7.344 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.4405, allocations: 4 kB / 0.6119 GB, free: 7.34 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4405, allocations: 0 / 0.6119 GB, free: 7.34 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002269/0.4407, allocations: 216.3 kB / 0.6121 GB, free: 7.109 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.466e-05/0.4408, allocations: 88.92 kB / 0.6122 GB, free: 7.004 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.059e-05/0.4408, allocations: 7.938 kB / 0.6122 GB, free: 6.996 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.35e-05/0.4409, allocations: 11.98 kB / 0.6122 GB, free: 6.984 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.916e-05/0.441, allocations: 11.92 kB / 0.6122 GB, free: 6.973 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.441, allocations: 8 kB / 0.6122 GB, free: 6.965 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001239/0.4411, allocations: 155.2 kB / 0.6124 GB, free: 6.812 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4411, allocations: 0 / 0.6124 GB, free: 6.812 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002503/0.4414, allocations: 28 kB / 0.6124 GB, free: 6.785 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.000911/0.4423, allocations: 463.5 kB / 0.6129 GB, free: 6.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002072/0.4425, allocations: 79.92 kB / 0.6129 GB, free: 6.422 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.4425, allocations: 3.938 kB / 0.6129 GB, free: 6.418 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.509e-05/0.4426, allocations: 39.98 kB / 0.613 GB, free: 6.379 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002884/0.4429, allocations: 15.98 kB / 0.613 GB, free: 6.363 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004708/0.4434, allocations: 312.1 kB / 0.6133 GB, free: 6.023 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002371/0.4436, allocations: 0.7043 MB / 0.614 GB, free: 5.293 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.105e-05/0.4437, allocations: 19.44 kB / 0.614 GB, free: 5.273 MB / 426.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4437, allocations: 0 / 0.614 GB, free: 5.273 MB / 426.7 MB Notification: Performance of Templates: time 0.003184/0.4469, allocations: 1.803 MB / 0.6158 GB, free: 3.469 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test34.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test34.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test34 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test34/Test34.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches