Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test16.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.Test16,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.Test16") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test16,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.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009439/0.0009439, allocations: 200.5 kB / 15.8 MB, free: 6.305 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.258/1.258, allocations: 226.6 MB / 243.1 MB, free: 14.1 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000763/0.0007631, allocations: 99.81 kB / 295.1 MB, free: 10.03 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1883/0.1883, allocations: 44.83 MB / 392 MB, free: 9.297 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002341/0.0002341, allocations: 8 kB / 464.7 MB, free: 49.75 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08973/0.08997, allocations: 62.94 MB / 0.5153 GB, free: 2.766 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.001809/0.09183, allocations: 1.307 MB / 0.5166 GB, free: 1.441 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007552/0.0926, allocations: 0.4953 MB / 0.5171 GB, free: 0.9414 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.564e-05/0.09266, allocations: 0 / 0.5171 GB, free: 0.9414 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002319/0.0929, allocations: 71.83 kB / 0.5171 GB, free: 0.8711 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002036/0.09312, allocations: 87.78 kB / 0.5172 GB, free: 0.7852 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002468/0.09337, allocations: 94.56 kB / 0.5173 GB, free: 0.6953 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001607/0.09354, allocations: 71.75 kB / 0.5174 GB, free: 0.625 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.785e-05/0.09364, allocations: 23.97 kB / 0.5174 GB, free: 0.6016 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.717e-05/0.09369, allocations: 23.92 kB / 0.5174 GB, free: 0.5781 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.47e-05/0.09378, allocations: 47.81 kB / 0.5175 GB, free: 0.5312 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.243e-05/0.0938, allocations: 0 / 0.5175 GB, free: 0.5312 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.445e-05/0.09389, allocations: 43.92 kB / 0.5175 GB, free: 500 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.45e-05/0.09394, allocations: 19.92 kB / 0.5175 GB, free: 480 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.435e-05/0.09397, allocations: 33.64 kB / 0.5176 GB, free: 440 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001127/0.09409, allocations: 83.88 kB / 0.5177 GB, free: 356 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.0941, allocations: 4 kB / 0.5177 GB, free: 352 kB / 346.7 MB Notification: Performance of FrontEnd: time 2.685e-06/0.09411, allocations: 0 / 0.5177 GB, free: 352 kB / 346.7 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.09412, allocations: 3.938 kB / 0.5177 GB, free: 348 kB / 346.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.1743/0.2684, allocations: 399.6 kB / 0.518 GB, free: 11.8 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.2685, allocations: 8.688 kB / 0.518 GB, free: 11.8 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.847e-05/0.2685, allocations: 15.64 kB / 0.5181 GB, free: 11.79 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000182/0.2687, allocations: 196.2 kB / 0.5183 GB, free: 11.58 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.2687, allocations: 5.625 kB / 0.5183 GB, free: 11.58 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.529e-05/0.2688, allocations: 3.688 kB / 0.5183 GB, free: 11.58 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.2689, allocations: 54.48 kB / 0.5183 GB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.2689, allocations: 0.6094 kB / 0.5183 GB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.269, allocations: 1.469 kB / 0.5183 GB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.269, allocations: 0.6875 kB / 0.5183 GB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001116/0.2691, allocations: 36.34 kB / 0.5183 GB, free: 11.55 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004092/0.2695, allocations: 302.2 kB / 0.5186 GB, free: 11.29 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.2696, allocations: 51.12 kB / 0.5187 GB, free: 11.26 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.651e-05/0.2697, allocations: 19.48 kB / 0.5187 GB, free: 11.25 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.2697, allocations: 1.312 kB / 0.5187 GB, free: 11.25 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.677e-05/0.2697, allocations: 33 kB / 0.5187 GB, free: 11.21 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.2697, allocations: 3.625 kB / 0.5187 GB, free: 11.21 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.000977/0.2707, allocations: 271.4 kB / 0.519 GB, free: 11.16 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.592e-05/0.2708, allocations: 56.92 kB / 0.5191 GB, free: 11.09 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002055/0.271, allocations: 215.4 kB / 0.5193 GB, free: 10.99 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.271, allocations: 28.72 kB / 0.5193 GB, free: 10.96 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.618e-05/0.2711, allocations: 108.3 kB / 0.5194 GB, free: 10.87 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.947e-05/0.2711, allocations: 29.77 kB / 0.5194 GB, free: 10.85 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.199e-06/0.2711, allocations: 1.375 kB / 0.5194 GB, free: 10.85 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.888e-05/0.2712, allocations: 330.8 kB / 0.5197 GB, free: 10.54 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.2713, allocations: 33.47 kB / 0.5198 GB, free: 10.54 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.03e-05/0.2714, allocations: 33.09 kB / 0.5198 GB, free: 10.54 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001055/0.2715, allocations: 36.83 kB / 0.5198 GB, free: 10.54 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.2715, allocations: 7.938 kB / 0.5198 GB, free: 10.53 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002517/0.2718, allocations: 115.1 kB / 0.52 GB, free: 10.49 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.2718, allocations: 6.5 kB / 0.52 GB, free: 10.49 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.2718, allocations: 0 / 0.52 GB, free: 10.49 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.2719, allocations: 0.8438 kB / 0.52 GB, free: 10.49 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.272, allocations: 24.23 kB / 0.52 GB, free: 10.49 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.272, allocations: 4.609 kB / 0.52 GB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.631e-05/0.272, allocations: 13.7 kB / 0.52 GB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.2721, allocations: 4.25 kB / 0.52 GB, free: 10.48 MB / 346.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 7.91e-05/0.2721, allocations: 130 kB / 0.5201 GB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.103e-05/0.2722, allocations: 9.562 kB / 0.5201 GB, free: 10.36 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003185/0.2725, allocations: 137.4 kB / 0.5203 GB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.2725, allocations: 2.156 kB / 0.5203 GB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.2725, allocations: 0.5625 kB / 0.5203 GB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.2725, allocations: 8.969 kB / 0.5203 GB, free: 10.31 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005339/0.2731, allocations: 433.4 kB / 0.5207 GB, free: 10 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.2731, allocations: 1 kB / 0.5207 GB, free: 10 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.185e-05/0.2732, allocations: 18.97 kB / 0.5207 GB, free: 10 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.2732, allocations: 1.156 kB / 0.5207 GB, free: 10 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.092e-05/0.2732, allocations: 9.594 kB / 0.5207 GB, free: 9.996 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.2732, allocations: 8.969 kB / 0.5207 GB, free: 9.988 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.2732, allocations: 5.031 kB / 0.5207 GB, free: 9.984 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002452/0.2735, allocations: 215.2 kB / 0.5209 GB, free: 9.844 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.229e-05/0.2735, allocations: 92.09 kB / 0.521 GB, free: 9.742 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/0.2735, allocations: 6.203 kB / 0.521 GB, free: 9.738 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.443e-05/0.2736, allocations: 12.92 kB / 0.521 GB, free: 9.734 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.502e-05/0.2736, allocations: 7.891 kB / 0.5211 GB, free: 9.734 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.615e-06/0.2737, allocations: 3.5 kB / 0.5211 GB, free: 9.734 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001404/0.2738, allocations: 158.9 kB / 0.5212 GB, free: 9.66 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2738, allocations: 0.5625 kB / 0.5212 GB, free: 9.66 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002429/0.2741, allocations: 20.98 kB / 0.5212 GB, free: 9.66 MB / 346.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.0008626/0.2749, allocations: 458.5 kB / 0.5217 GB, free: 9.441 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002579/0.2752, allocations: 82.67 kB / 0.5217 GB, free: 9.438 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2752, allocations: 0 / 0.5217 GB, free: 9.438 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.2753, allocations: 46.41 kB / 0.5218 GB, free: 9.434 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003048/0.2756, allocations: 16.36 kB / 0.5218 GB, free: 9.434 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004485/0.2761, allocations: 308.9 kB / 0.5221 GB, free: 9.23 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001451/0.2762, allocations: 0.71 MB / 0.5228 GB, free: 8.535 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.506e-05/0.2763, allocations: 15.72 kB / 0.5228 GB, free: 8.531 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.2763, allocations: 9.094 kB / 0.5228 GB, free: 8.523 MB / 346.7 MB Notification: Performance of Templates: time 0.003577/0.2799, allocations: 1.799 MB / 0.5246 GB, free: 8.328 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test16.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test16 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches