Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.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.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001065/0.001065, allocations: 197.7 kB / 16.79 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.395/1.395, allocations: 226.5 MB / 244.1 MB, free: 8.195 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007605/0.0007605, allocations: 110.5 kB / 296.2 MB, free: 6.906 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3348/0.3348, allocations: 44.81 MB / 392.9 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002673/0.0002674, allocations: 8 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.2989, allocations: 62.95 MB / 0.5165 GB, free: 37.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1016/0.4005, allocations: 90.34 MB / 0.6047 GB, free: 15.06 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001986/0.4007, allocations: 71.97 kB / 0.6048 GB, free: 14.99 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01425/0.415, allocations: 5.684 MB / 0.6103 GB, free: 9.297 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.415, allocations: 0 / 0.6103 GB, free: 9.297 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.495e-05/0.415, allocations: 4 kB / 0.6103 GB, free: 9.293 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005292/0.4156, allocations: 463.1 kB / 0.6108 GB, free: 8.789 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.4156, allocations: 12.81 kB / 0.6108 GB, free: 8.777 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.414e-05/0.4157, allocations: 16.84 kB / 0.6108 GB, free: 8.762 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002626/0.4159, allocations: 222.4 kB / 0.611 GB, free: 8.508 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.07e-05/0.416, allocations: 384 / 0.611 GB, free: 8.508 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.88e-05/0.416, allocations: 4.375 kB / 0.611 GB, free: 8.504 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.4162, allocations: 82.16 kB / 0.6111 GB, free: 8.418 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.4162, allocations: 192 / 0.6111 GB, free: 8.418 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.4162, allocations: 3.938 kB / 0.6111 GB, free: 8.414 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.4162, allocations: 0 / 0.6111 GB, free: 8.414 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001416/0.4164, allocations: 47.97 kB / 0.6111 GB, free: 8.367 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004595/0.4168, allocations: 344.6 kB / 0.6115 GB, free: 7.98 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002147/0.4171, allocations: 58.55 kB / 0.6115 GB, free: 7.914 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.875e-05/0.4172, allocations: 32.97 kB / 0.6115 GB, free: 7.879 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.4172, allocations: 4 kB / 0.6115 GB, free: 7.875 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.899e-05/0.4172, allocations: 34.56 kB / 0.6116 GB, free: 7.832 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.182e-06/0.4172, allocations: 0 / 0.6116 GB, free: 7.832 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.001461/0.4187, allocations: 0.4891 MB / 0.6121 GB, free: 7.336 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.948e-05/0.4187, allocations: 51.41 kB / 0.6121 GB, free: 7.273 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002147/0.4189, allocations: 227.1 kB / 0.6123 GB, free: 7.039 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.419, allocations: 25.7 kB / 0.6123 GB, free: 7.008 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.165e-05/0.419, allocations: 123.9 kB / 0.6125 GB, free: 6.883 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.848e-05/0.4191, allocations: 35.47 kB / 0.6125 GB, free: 6.848 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.311e-06/0.4191, allocations: 0 / 0.6125 GB, free: 6.848 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.4192, allocations: 326.8 kB / 0.6128 GB, free: 6.52 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/0.4194, allocations: 59.97 kB / 0.6129 GB, free: 6.461 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001276/0.4195, allocations: 63.95 kB / 0.6129 GB, free: 6.398 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002783/0.4198, allocations: 143.4 kB / 0.6131 GB, free: 6.258 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.4198, allocations: 0 / 0.6131 GB, free: 6.258 MB / 426.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003401/0.4201, allocations: 193.4 kB / 0.6132 GB, free: 6.062 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.4202, allocations: 7.938 kB / 0.6133 GB, free: 6.055 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.4202, allocations: 0 / 0.6133 GB, free: 6.055 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.04e-05/0.4202, allocations: 0 / 0.6133 GB, free: 6.055 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.4203, allocations: 27.98 kB / 0.6133 GB, free: 6.027 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.4203, allocations: 0 / 0.6133 GB, free: 6.027 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.228e-05/0.4204, allocations: 24.48 kB / 0.6133 GB, free: 6.004 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.4204, allocations: 4 kB / 0.6133 GB, free: 6 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 (11): * Single equations (assignments): 11 * 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 9.373e-05/0.4205, allocations: 137.8 kB / 0.6134 GB, free: 5.855 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.769e-05/0.4206, allocations: 15.81 kB / 0.6135 GB, free: 5.84 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004092/0.421, allocations: 199 kB / 0.6136 GB, free: 5.645 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.421, allocations: 4 kB / 0.6136 GB, free: 5.641 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.421, allocations: 4 kB / 0.6137 GB, free: 5.637 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.421, allocations: 11.86 kB / 0.6137 GB, free: 5.625 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007286/0.4218, allocations: 0.5312 MB / 0.6142 GB, free: 5.031 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.4218, allocations: 4 kB / 0.6142 GB, free: 5.027 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001053/0.4219, allocations: 35.91 kB / 0.6142 GB, free: 4.992 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.4219, allocations: 0 / 0.6142 GB, free: 4.992 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.4219, allocations: 4 kB / 0.6142 GB, free: 4.988 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.4219, allocations: 4 kB / 0.6142 GB, free: 4.984 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.4219, allocations: 3.938 kB / 0.6142 GB, free: 4.98 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003839/0.4223, allocations: 289.2 kB / 0.6145 GB, free: 4.676 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.405e-05/0.4224, allocations: 96.95 kB / 0.6146 GB, free: 4.562 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.296e-05/0.4224, allocations: 3.984 kB / 0.6146 GB, free: 4.559 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.989e-05/0.4225, allocations: 12 kB / 0.6146 GB, free: 4.547 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.262e-05/0.4226, allocations: 11.98 kB / 0.6146 GB, free: 4.535 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-06/0.4226, allocations: 4 kB / 0.6146 GB, free: 4.531 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001464/0.4227, allocations: 172.2 kB / 0.6148 GB, free: 4.363 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4227, allocations: 4 kB / 0.6148 GB, free: 4.359 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002636/0.423, allocations: 39.92 kB / 0.6148 GB, free: 4.32 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0009188/0.4239, allocations: 463 kB / 0.6153 GB, free: 4.031 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003448/0.4243, allocations: 139.9 kB / 0.6154 GB, free: 3.895 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.4243, allocations: 4 kB / 0.6154 GB, free: 3.891 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001544/0.4245, allocations: 79.83 kB / 0.6155 GB, free: 3.812 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003059/0.4248, allocations: 23.92 kB / 0.6155 GB, free: 3.789 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005839/0.4254, allocations: 386 kB / 0.6159 GB, free: 3.367 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000271/0.4257, allocations: 0.7239 MB / 0.6166 GB, free: 2.617 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.534e-05/0.4257, allocations: 23.36 kB / 0.6166 GB, free: 2.598 MB / 426.7 MB Notification: Performance of SimCode: time 2.41e-07/0.4257, allocations: 3.938 kB / 0.6166 GB, free: 2.594 MB / 426.7 MB Notification: Performance of Templates: time 0.003789/0.4295, allocations: 2.197 MB / 0.6188 GB, free: 408 kB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches