Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001428/0.001428, allocations: 192 kB / 16.78 MB, free: 4.895 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.334/1.334, allocations: 226.5 MB / 244.1 MB, free: 6.367 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007726/0.0007728, allocations: 104.1 kB / 296.1 MB, free: 6.633 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2843/0.2843, allocations: 44.82 MB / 393 MB, free: 35.62 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003707/0.0003708, allocations: 11.94 kB / 465.9 MB, free: 12.65 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3821/0.3825, allocations: 62.95 MB / 0.5165 GB, free: 37.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09819/0.4807, allocations: 89.56 MB / 0.6039 GB, free: 15.79 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002069/0.481, allocations: 79.95 kB / 0.604 GB, free: 15.71 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01356/0.4946, allocations: 5.468 MB / 0.6093 GB, free: 10.24 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4946, allocations: 0 / 0.6093 GB, free: 10.24 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.187e-05/0.4946, allocations: 4 kB / 0.6094 GB, free: 10.23 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003858/0.495, allocations: 399.5 kB / 0.6097 GB, free: 9.793 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.4951, allocations: 16.03 kB / 0.6097 GB, free: 9.777 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.607e-05/0.4951, allocations: 4.938 kB / 0.6098 GB, free: 9.773 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002253/0.4953, allocations: 209.7 kB / 0.61 GB, free: 9.531 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.899e-06/0.4953, allocations: 4.375 kB / 0.61 GB, free: 9.527 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.456e-05/0.4954, allocations: 384 / 0.61 GB, free: 9.527 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.4955, allocations: 63.97 kB / 0.61 GB, free: 9.453 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.4955, allocations: 192 / 0.61 GB, free: 9.453 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.4955, allocations: 7.922 kB / 0.61 GB, free: 9.445 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.4956, allocations: 4 kB / 0.61 GB, free: 9.441 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.555e-05/0.4956, allocations: 23.98 kB / 0.6101 GB, free: 9.418 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000327/0.496, allocations: 280.8 kB / 0.6103 GB, free: 9.094 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001719/0.4962, allocations: 50.5 kB / 0.6104 GB, free: 9.035 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.789e-05/0.4962, allocations: 16.86 kB / 0.6104 GB, free: 9.016 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.4962, allocations: 8.062 kB / 0.6104 GB, free: 9.008 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/0.4963, allocations: 30.56 kB / 0.6104 GB, free: 8.969 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.4963, allocations: 0 / 0.6104 GB, free: 8.969 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005325/0.4968, allocations: 157.3 kB / 0.6106 GB, free: 8.809 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.982e-05/0.4969, allocations: 81.11 kB / 0.6106 GB, free: 8.711 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.497, allocations: 144.8 kB / 0.6108 GB, free: 8.562 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/0.497, allocations: 29.7 kB / 0.6108 GB, free: 8.527 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.301e-05/0.4971, allocations: 99.97 kB / 0.6109 GB, free: 8.426 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.631e-05/0.4971, allocations: 15.75 kB / 0.6109 GB, free: 8.41 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.639e-06/0.4971, allocations: 4 kB / 0.6109 GB, free: 8.406 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.4972, allocations: 324 kB / 0.6112 GB, free: 8.082 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.556e-05/0.4973, allocations: 19.98 kB / 0.6113 GB, free: 8.062 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.943e-05/0.4974, allocations: 37.7 kB / 0.6113 GB, free: 8.02 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001227/0.4975, allocations: 61.02 kB / 0.6114 GB, free: 7.957 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.4975, allocations: 0 / 0.6114 GB, free: 7.957 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001779/0.4977, allocations: 85.61 kB / 0.6114 GB, free: 7.867 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.4977, allocations: 8 kB / 0.6114 GB, free: 7.859 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.4977, allocations: 0 / 0.6114 GB, free: 7.859 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.195e-05/0.4978, allocations: 0 / 0.6114 GB, free: 7.859 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.017e-05/0.4978, allocations: 19.92 kB / 0.6115 GB, free: 7.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.4978, allocations: 0 / 0.6115 GB, free: 7.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.657e-05/0.4979, allocations: 15.94 kB / 0.6115 GB, free: 7.824 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.186e-06/0.4979, allocations: 4 kB / 0.6115 GB, free: 7.82 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 (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 7.358e-05/0.498, allocations: 117.8 kB / 0.6116 GB, free: 7.695 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.664e-05/0.498, allocations: 3.906 kB / 0.6116 GB, free: 7.691 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002104/0.4982, allocations: 97.95 kB / 0.6117 GB, free: 7.59 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.4982, allocations: 4 kB / 0.6117 GB, free: 7.586 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.4983, allocations: 0 / 0.6117 GB, free: 7.586 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.4983, allocations: 0 / 0.6117 GB, free: 7.586 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003984/0.4987, allocations: 358.4 kB / 0.612 GB, free: 7.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.4987, allocations: 0 / 0.612 GB, free: 7.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.352e-05/0.4987, allocations: 19.98 kB / 0.6121 GB, free: 7.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.4988, allocations: 0 / 0.6121 GB, free: 7.16 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.4988, allocations: 4 kB / 0.6121 GB, free: 7.156 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.4988, allocations: 4 kB / 0.6121 GB, free: 7.152 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.4988, allocations: 3.938 kB / 0.6121 GB, free: 7.148 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002151/0.499, allocations: 187.6 kB / 0.6122 GB, free: 6.949 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.657e-05/0.4991, allocations: 85.06 kB / 0.6123 GB, free: 6.848 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.4991, allocations: 8 kB / 0.6123 GB, free: 6.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.625e-05/0.4992, allocations: 15.92 kB / 0.6123 GB, free: 6.824 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.158e-05/0.4992, allocations: 3.938 kB / 0.6123 GB, free: 6.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.4992, allocations: 4 kB / 0.6124 GB, free: 6.816 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.266e-05/0.4993, allocations: 111.2 kB / 0.6125 GB, free: 6.707 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4993, allocations: 4 kB / 0.6125 GB, free: 6.703 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002733/0.4996, allocations: 55.86 kB / 0.6125 GB, free: 6.648 MB / 426.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 () * Number of clocked 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.000988/0.5006, allocations: 490.2 kB / 0.613 GB, free: 6.328 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001861/0.5008, allocations: 55.91 kB / 0.613 GB, free: 6.273 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.5008, allocations: 0 / 0.613 GB, free: 6.273 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.345e-05/0.5009, allocations: 31.98 kB / 0.6131 GB, free: 6.242 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000268/0.5012, allocations: 15.98 kB / 0.6131 GB, free: 6.227 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003591/0.5015, allocations: 205.9 kB / 0.6133 GB, free: 5.996 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002303/0.5018, allocations: 0.6965 MB / 0.614 GB, free: 5.273 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.943e-05/0.5018, allocations: 15.42 kB / 0.614 GB, free: 5.258 MB / 426.7 MB Notification: Performance of SimCode: time 1.894e-06/0.5018, allocations: 0 / 0.614 GB, free: 5.258 MB / 426.7 MB Notification: Performance of Templates: time 0.003475/0.5053, allocations: 1.909 MB / 0.6158 GB, free: 3.352 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test19/Test19.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches