Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26.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.Test26,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.Test26") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test26,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.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001526/0.001526, allocations: 192.6 kB / 16.1 MB, free: 5.559 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.298/1.298, allocations: 226.5 MB / 243.4 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.0007936/0.0007936, allocations: 99.44 kB / 295.5 MB, free: 6.895 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2782/0.2782, allocations: 44.82 MB / 392.3 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002404/0.0002404, allocations: 8 kB / 465.3 MB, free: 12.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.265, allocations: 62.96 MB / 0.5159 GB, free: 37.05 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test26): time 0.001381/0.2665, allocations: 1.298 MB / 0.5171 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006145/0.2671, allocations: 0.4945 MB / 0.5176 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.295e-05/0.2671, allocations: 6.969 kB / 0.5176 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002067/0.2674, allocations: 74.39 kB / 0.5177 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001782/0.2675, allocations: 82.98 kB / 0.5178 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002044/0.2678, allocations: 79.72 kB / 0.5179 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001071/0.2679, allocations: 75.98 kB / 0.5179 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.213e-05/0.268, allocations: 20.92 kB / 0.518 GB, free: 35.63 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.989e-05/0.268, allocations: 22.34 kB / 0.518 GB, free: 35.63 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.677e-05/0.2681, allocations: 48.5 kB / 0.518 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.195e-05/0.2681, allocations: 2.75 kB / 0.518 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.808e-05/0.2682, allocations: 37.42 kB / 0.5181 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.681e-05/0.2682, allocations: 20.98 kB / 0.5181 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.321e-05/0.2683, allocations: 51.23 kB / 0.5181 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000105/0.2684, allocations: 79.95 kB / 0.5182 GB, free: 35.52 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.2684, allocations: 0 / 0.5182 GB, free: 35.52 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.2684, allocations: 0 / 0.5182 GB, free: 35.52 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.429e-06/0.2684, allocations: 4 kB / 0.5182 GB, free: 35.52 MB / 378.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.0003241/0.2687, allocations: 393.8 kB / 0.5186 GB, free: 35.12 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.931e-05/0.2688, allocations: 12.62 kB / 0.5186 GB, free: 35.12 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.93e-05/0.2688, allocations: 11.66 kB / 0.5186 GB, free: 35.11 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.2689, allocations: 204.5 kB / 0.5188 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.514e-06/0.269, allocations: 4.375 kB / 0.5188 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.014e-05/0.269, allocations: 7.203 kB / 0.5188 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000115/0.2691, allocations: 63.58 kB / 0.5189 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.2691, allocations: 0 / 0.5189 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.2691, allocations: 4 kB / 0.5189 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.2692, allocations: 2.938 kB / 0.5189 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.362e-05/0.2692, allocations: 31.62 kB / 0.5189 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002568/0.2695, allocations: 300 kB / 0.5192 GB, free: 34.53 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.394e-05/0.2696, allocations: 43.61 kB / 0.5192 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.268e-05/0.2697, allocations: 19.77 kB / 0.5193 GB, free: 34.49 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.2697, allocations: 0 / 0.5193 GB, free: 34.49 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.339e-05/0.2697, allocations: 34.56 kB / 0.5193 GB, free: 34.45 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.2697, allocations: 4 kB / 0.5193 GB, free: 34.44 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007342/0.2704, allocations: 243.7 kB / 0.5195 GB, free: 34.36 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.397e-05/0.2705, allocations: 61.81 kB / 0.5196 GB, free: 34.29 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.2706, allocations: 217.2 kB / 0.5198 GB, free: 34.16 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.696e-06/0.2706, allocations: 25.7 kB / 0.5198 GB, free: 34.12 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.503e-05/0.2707, allocations: 113.2 kB / 0.5199 GB, free: 34.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.947e-05/0.2707, allocations: 30 kB / 0.52 GB, free: 34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.489e-06/0.2707, allocations: 0 / 0.52 GB, free: 34 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.277e-05/0.2708, allocations: 321 kB / 0.5203 GB, free: 33.68 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.12e-05/0.2708, allocations: 29.83 kB / 0.5203 GB, free: 33.67 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.132e-05/0.2709, allocations: 30.78 kB / 0.5203 GB, free: 33.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001314/0.2711, allocations: 71.55 kB / 0.5204 GB, free: 33.64 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.11e-07/0.2711, allocations: 0 / 0.5204 GB, free: 33.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000178/0.2712, allocations: 116.2 kB / 0.5205 GB, free: 33.57 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.2713, allocations: 5.938 kB / 0.5205 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.546e-06/0.2713, allocations: 0 / 0.5205 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.769e-06/0.2713, allocations: 0 / 0.5205 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.653e-05/0.2714, allocations: 18.78 kB / 0.5205 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.2714, allocations: 0 / 0.5205 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.04e-05/0.2714, allocations: 13.88 kB / 0.5205 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.2714, allocations: 3.062 kB / 0.5205 GB, free: 33.57 MB / 378.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 5.918e-05/0.2715, allocations: 130.6 kB / 0.5207 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.847e-05/0.2715, allocations: 9.875 kB / 0.5207 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002503/0.2718, allocations: 128.6 kB / 0.5208 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.2718, allocations: 4 kB / 0.5208 GB, free: 33.38 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.768e-06/0.2718, allocations: 6.719 kB / 0.5208 GB, free: 33.37 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.2718, allocations: 3.938 kB / 0.5208 GB, free: 33.37 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003741/0.2722, allocations: 410.9 kB / 0.5212 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2722, allocations: 0 / 0.5212 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.155e-05/0.2723, allocations: 19.38 kB / 0.5212 GB, free: 33.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.2723, allocations: 4.359 kB / 0.5212 GB, free: 33.01 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.2723, allocations: 6.328 kB / 0.5212 GB, free: 33.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.2723, allocations: 0 / 0.5212 GB, free: 33.01 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2723, allocations: 0 / 0.5212 GB, free: 33.01 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001858/0.2725, allocations: 213.7 kB / 0.5214 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.929e-05/0.2726, allocations: 103.4 kB / 0.5215 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.2726, allocations: 6.906 kB / 0.5215 GB, free: 32.72 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.748e-05/0.2727, allocations: 5.75 kB / 0.5215 GB, free: 32.72 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.593e-05/0.2727, allocations: 9.766 kB / 0.5216 GB, free: 32.72 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-06/0.2727, allocations: 2.719 kB / 0.5216 GB, free: 32.72 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.139e-05/0.2728, allocations: 164 kB / 0.5217 GB, free: 32.62 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2728, allocations: 0 / 0.5217 GB, free: 32.62 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002277/0.273, allocations: 21.97 kB / 0.5217 GB, free: 32.61 MB / 378.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.0008002/0.2738, allocations: 456.5 kB / 0.5222 GB, free: 32.39 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001799/0.274, allocations: 72.2 kB / 0.5222 GB, free: 32.38 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.274, allocations: 0 / 0.5222 GB, free: 32.38 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.607e-05/0.2741, allocations: 46.34 kB / 0.5223 GB, free: 32.36 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002834/0.2744, allocations: 17.33 kB / 0.5223 GB, free: 32.35 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003527/0.2748, allocations: 301.1 kB / 0.5226 GB, free: 32.12 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001103/0.2749, allocations: 0.7041 MB / 0.5233 GB, free: 31.43 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.024e-05/0.2749, allocations: 19.19 kB / 0.5233 GB, free: 31.42 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2749, allocations: 0 / 0.5233 GB, free: 31.42 MB / 378.7 MB Notification: Performance of Templates: time 0.002545/0.2775, allocations: 1.736 MB / 0.525 GB, free: 31.21 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test26/Test26.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches