Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.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.Test28,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.CombiTable1Ds.Test28") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test28,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.CombiTable1Ds.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001023/0.001023, allocations: 193.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.339/1.339, allocations: 226.5 MB / 244.1 MB, free: 6.516 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007365/0.0007365, allocations: 94.58 kB / 296.1 MB, free: 6.703 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2918/0.2918, allocations: 44.83 MB / 392.9 MB, free: 35.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002539/0.0002539, allocations: 8 kB / 465.9 MB, free: 12.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2871/0.2874, allocations: 62.96 MB / 0.5165 GB, free: 37.21 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1011/0.3885, allocations: 89.37 MB / 0.6038 GB, free: 48 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000294/0.3888, allocations: 76.03 kB / 0.6038 GB, free: 15.97 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01295/0.4018, allocations: 5.229 MB / 0.6089 GB, free: 10.73 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4018, allocations: 0 / 0.6089 GB, free: 10.73 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.4019, allocations: 4 kB / 0.6089 GB, free: 10.73 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.0004265/0.4023, allocations: 451.2 kB / 0.6094 GB, free: 10.24 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.4023, allocations: 8.875 kB / 0.6094 GB, free: 10.23 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.025e-05/0.4024, allocations: 20.75 kB / 0.6094 GB, free: 10.21 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002533/0.4026, allocations: 224.7 kB / 0.6096 GB, free: 9.949 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.4027, allocations: 4.375 kB / 0.6096 GB, free: 9.945 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.663e-05/0.4027, allocations: 384 / 0.6096 GB, free: 9.945 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001239/0.4028, allocations: 58.23 kB / 0.6097 GB, free: 9.883 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.4028, allocations: 192 / 0.6097 GB, free: 9.883 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.4028, allocations: 7.922 kB / 0.6097 GB, free: 9.875 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.4029, allocations: 0 / 0.6097 GB, free: 9.875 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.481e-05/0.403, allocations: 35.97 kB / 0.6097 GB, free: 9.84 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003526/0.4033, allocations: 308.7 kB / 0.61 GB, free: 9.488 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.488e-05/0.4034, allocations: 42.56 kB / 0.61 GB, free: 9.438 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.743e-05/0.4035, allocations: 20.94 kB / 0.6101 GB, free: 9.414 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.4035, allocations: 8 kB / 0.6101 GB, free: 9.406 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.4035, allocations: 30.56 kB / 0.6101 GB, free: 9.367 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.011e-06/0.4035, allocations: 0 / 0.6101 GB, free: 9.367 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007987/0.4043, allocations: 262.1 kB / 0.6103 GB, free: 9.105 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.113e-05/0.4044, allocations: 59.39 kB / 0.6104 GB, free: 9.035 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002275/0.4046, allocations: 239.3 kB / 0.6106 GB, free: 8.793 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.4046, allocations: 29.7 kB / 0.6107 GB, free: 8.758 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.889e-05/0.4047, allocations: 108.1 kB / 0.6108 GB, free: 8.648 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.33e-05/0.4047, allocations: 27.61 kB / 0.6108 GB, free: 8.621 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-06/0.4047, allocations: 0 / 0.6108 GB, free: 8.621 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9e-05/0.4048, allocations: 334.7 kB / 0.6111 GB, free: 8.285 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.569e-05/0.4049, allocations: 31.98 kB / 0.6111 GB, free: 8.254 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.312e-05/0.405, allocations: 31.92 kB / 0.6112 GB, free: 8.223 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.4051, allocations: 72.83 kB / 0.6112 GB, free: 8.148 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.4051, allocations: 0 / 0.6112 GB, free: 8.148 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001901/0.4053, allocations: 105.5 kB / 0.6113 GB, free: 8.039 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.4054, allocations: 8 kB / 0.6114 GB, free: 8.031 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.4054, allocations: 0 / 0.6114 GB, free: 8.031 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.898e-06/0.4054, allocations: 0 / 0.6114 GB, free: 8.031 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.369e-05/0.4055, allocations: 23.98 kB / 0.6114 GB, free: 8.008 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.4055, allocations: 0 / 0.6114 GB, free: 8.008 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.409e-05/0.4055, allocations: 8 kB / 0.6114 GB, free: 8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/0.4056, allocations: 4 kB / 0.6114 GB, free: 7.996 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.538e-05/0.4057, allocations: 133.8 kB / 0.6115 GB, free: 7.855 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.601e-05/0.4057, allocations: 15.81 kB / 0.6115 GB, free: 7.84 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002524/0.4059, allocations: 134.9 kB / 0.6117 GB, free: 7.703 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.406, allocations: 0 / 0.6117 GB, free: 7.703 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.406, allocations: 4 kB / 0.6117 GB, free: 7.699 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.406, allocations: 0 / 0.6117 GB, free: 7.699 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004994/0.4065, allocations: 451.5 kB / 0.6121 GB, free: 7.199 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.4065, allocations: 0 / 0.6121 GB, free: 7.199 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.537e-05/0.4066, allocations: 19.98 kB / 0.6121 GB, free: 7.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.4066, allocations: 0 / 0.6121 GB, free: 7.18 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.11e-05/0.4066, allocations: 7.938 kB / 0.6121 GB, free: 7.172 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.4066, allocations: 0 / 0.6121 GB, free: 7.172 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4066, allocations: 80 / 0.6121 GB, free: 7.172 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002241/0.4068, allocations: 220.2 kB / 0.6123 GB, free: 6.938 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.983e-05/0.4069, allocations: 100.9 kB / 0.6124 GB, free: 6.82 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.141e-05/0.4069, allocations: 8.359 kB / 0.6124 GB, free: 6.812 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.16e-05/0.407, allocations: 8 kB / 0.6124 GB, free: 6.805 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.329e-05/0.407, allocations: 7.984 kB / 0.6124 GB, free: 6.797 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.673e-06/0.4071, allocations: 4 kB / 0.6125 GB, free: 6.793 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001496/0.4072, allocations: 191.8 kB / 0.6126 GB, free: 6.609 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.4072, allocations: 0 / 0.6126 GB, free: 6.609 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002469/0.4075, allocations: 35.92 kB / 0.6127 GB, free: 6.574 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.0008884/0.4084, allocations: 456.9 kB / 0.6131 GB, free: 6.285 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001996/0.4086, allocations: 71.91 kB / 0.6132 GB, free: 6.215 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.4086, allocations: 0 / 0.6132 GB, free: 6.215 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.206e-05/0.4087, allocations: 39.92 kB / 0.6132 GB, free: 6.176 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002841/0.409, allocations: 17 kB / 0.6132 GB, free: 6.16 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004832/0.4095, allocations: 352.2 kB / 0.6136 GB, free: 5.785 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002242/0.4097, allocations: 0.716 MB / 0.6143 GB, free: 5.043 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.202e-05/0.4097, allocations: 19.44 kB / 0.6143 GB, free: 5.023 MB / 426.7 MB Notification: Performance of SimCode: time 2.4e-07/0.4098, allocations: 0 / 0.6143 GB, free: 5.023 MB / 426.7 MB Notification: Performance of Templates: time 0.003135/0.4129, allocations: 1.925 MB / 0.6162 GB, free: 3.098 MB / 426.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test28/Test28.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches