Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,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.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001002/0.001002, allocations: 191.7 kB / 16.09 MB, free: 5.68 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.27/1.27, allocations: 226.5 MB / 243.4 MB, free: 6.465 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008718/0.000872, allocations: 90.38 kB / 295.5 MB, free: 6.691 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3242/0.3242, allocations: 44.82 MB / 392.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002743/0.0002744, allocations: 8 kB / 465.3 MB, free: 12.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.2754, allocations: 62.95 MB / 0.5159 GB, free: 37.29 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.0014/0.2768, allocations: 1.285 MB / 0.5171 GB, free: 36.35 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006096/0.2774, allocations: 0.491 MB / 0.5176 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.473e-05/0.2775, allocations: 0 / 0.5176 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001643/0.2777, allocations: 26.84 kB / 0.5176 GB, free: 36.01 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001669/0.2779, allocations: 54.06 kB / 0.5177 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001925/0.2781, allocations: 82 kB / 0.5178 GB, free: 35.94 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000104/0.2782, allocations: 53.92 kB / 0.5178 GB, free: 35.92 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.74e-05/0.2783, allocations: 17.88 kB / 0.5178 GB, free: 35.91 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.693e-05/0.2783, allocations: 28.59 kB / 0.5179 GB, free: 35.89 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.708e-05/0.2783, allocations: 21.05 kB / 0.5179 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.1e-05/0.2784, allocations: 0 / 0.5179 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.815e-05/0.2784, allocations: 27.34 kB / 0.5179 GB, free: 35.87 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.446e-05/0.2785, allocations: 14.14 kB / 0.5179 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.398e-05/0.2785, allocations: 47.2 kB / 0.518 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 9.077e-05/0.2786, allocations: 57.39 kB / 0.518 GB, free: 35.8 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.2786, allocations: 0 / 0.518 GB, free: 35.8 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2786, allocations: 0 / 0.518 GB, free: 35.8 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.667e-06/0.2786, allocations: 0 / 0.518 GB, free: 35.8 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003133/0.279, allocations: 379.4 kB / 0.5184 GB, free: 35.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.073e-05/0.279, allocations: 8.938 kB / 0.5184 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.704e-05/0.279, allocations: 10.72 kB / 0.5184 GB, free: 35.41 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.2792, allocations: 195.7 kB / 0.5186 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.683e-06/0.2792, allocations: 384 / 0.5186 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.777e-05/0.2792, allocations: 3.344 kB / 0.5186 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.2793, allocations: 57.42 kB / 0.5186 GB, free: 35.15 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.2793, allocations: 4 kB / 0.5186 GB, free: 35.15 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.2793, allocations: 4 kB / 0.5187 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.2793, allocations: 3.938 kB / 0.5187 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.78e-05/0.2794, allocations: 25.58 kB / 0.5187 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002411/0.2797, allocations: 275.4 kB / 0.5189 GB, free: 34.85 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000161/0.2798, allocations: 51.17 kB / 0.519 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.369e-05/0.2799, allocations: 17.73 kB / 0.519 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.571e-05/0.2799, allocations: 0 / 0.519 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.185e-05/0.2799, allocations: 33.84 kB / 0.519 GB, free: 34.77 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 8.62e-07/0.2799, allocations: 2.969 kB / 0.519 GB, free: 34.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004583/0.2804, allocations: 153.7 kB / 0.5192 GB, free: 34.7 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.286e-05/0.2804, allocations: 51.41 kB / 0.5192 GB, free: 34.64 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.2806, allocations: 176.4 kB / 0.5194 GB, free: 34.51 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.135e-06/0.2806, allocations: 29.7 kB / 0.5194 GB, free: 34.48 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.893e-05/0.2806, allocations: 98.23 kB / 0.5195 GB, free: 34.38 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.394e-05/0.2806, allocations: 21.75 kB / 0.5195 GB, free: 34.37 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-06/0.2806, allocations: 0 / 0.5195 GB, free: 34.37 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.301e-05/0.2807, allocations: 321.3 kB / 0.5199 GB, free: 34.05 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.168e-05/0.2807, allocations: 17.42 kB / 0.5199 GB, free: 34.05 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.201e-05/0.2808, allocations: 25.62 kB / 0.5199 GB, free: 34.04 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001136/0.2809, allocations: 59.33 kB / 0.52 GB, free: 34.02 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.62e-07/0.2809, allocations: 0 / 0.52 GB, free: 34.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001512/0.2811, allocations: 86.06 kB / 0.52 GB, free: 33.97 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.2811, allocations: 5.75 kB / 0.52 GB, free: 33.97 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.196e-06/0.2811, allocations: 0 / 0.52 GB, free: 33.97 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.2811, allocations: 0 / 0.52 GB, free: 33.97 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.715e-05/0.2812, allocations: 14.75 kB / 0.5201 GB, free: 33.97 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.2812, allocations: 0 / 0.5201 GB, free: 33.97 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.882e-05/0.2812, allocations: 16.45 kB / 0.5201 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.2813, allocations: 2.781 kB / 0.5201 GB, free: 33.96 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 (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 5.186e-05/0.2813, allocations: 119.8 kB / 0.5202 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.689e-05/0.2813, allocations: 6.906 kB / 0.5202 GB, free: 33.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001857/0.2815, allocations: 97.83 kB / 0.5203 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.2816, allocations: 4 kB / 0.5203 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.2816, allocations: 2.969 kB / 0.5203 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.2816, allocations: 3.938 kB / 0.5203 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002936/0.2819, allocations: 353.3 kB / 0.5206 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.2819, allocations: 4 kB / 0.5206 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.837e-05/0.2819, allocations: 19.47 kB / 0.5207 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.115e-06/0.2819, allocations: 6.219 kB / 0.5207 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.282, allocations: 3.938 kB / 0.5207 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.282, allocations: 0 / 0.5207 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.282, allocations: 0 / 0.5207 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001581/0.2821, allocations: 184.5 kB / 0.5208 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.386e-05/0.2822, allocations: 87.98 kB / 0.5209 GB, free: 33.2 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.2822, allocations: 6.812 kB / 0.5209 GB, free: 33.19 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.174e-05/0.2822, allocations: 6.172 kB / 0.5209 GB, free: 33.19 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.235e-05/0.2823, allocations: 10.89 kB / 0.521 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.2823, allocations: 6.266 kB / 0.521 GB, free: 33.18 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.143e-05/0.2824, allocations: 121.5 kB / 0.5211 GB, free: 33.1 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2824, allocations: 4 kB / 0.5211 GB, free: 33.09 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002139/0.2826, allocations: 23.78 kB / 0.5211 GB, free: 33.08 MB / 378.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.0007049/0.2833, allocations: 396.1 kB / 0.5215 GB, free: 32.89 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001636/0.2835, allocations: 53.27 kB / 0.5215 GB, free: 32.88 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.2835, allocations: 4 kB / 0.5215 GB, free: 32.88 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.39e-05/0.2836, allocations: 33 kB / 0.5216 GB, free: 32.86 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002763/0.2838, allocations: 25.73 kB / 0.5216 GB, free: 32.86 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000292/0.2841, allocations: 218.9 kB / 0.5218 GB, free: 32.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.8e-05/0.2842, allocations: 0.6983 MB / 0.5225 GB, free: 31.97 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.563e-05/0.2843, allocations: 13.19 kB / 0.5225 GB, free: 31.96 MB / 378.7 MB Notification: Performance of SimCode: time 3.51e-07/0.2843, allocations: 0 / 0.5225 GB, free: 31.96 MB / 378.7 MB Notification: Performance of Templates: time 0.002295/0.2866, allocations: 1.427 MB / 0.5239 GB, free: 31.8 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches