Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test33.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.CombiTable1Dv.Test33,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.CombiTable1Dv.Test33") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test33,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.CombiTable1Dv.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001006/0.001006, allocations: 200.7 kB / 15.8 MB, free: 6.309 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.281/1.281, allocations: 226.6 MB / 243.1 MB, free: 14.29 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000827/0.000827, allocations: 101.5 kB / 295.1 MB, free: 10.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1755/0.1755, allocations: 44.83 MB / 392 MB, free: 9.328 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002522/0.0002522, allocations: 11.98 kB / 464.7 MB, free: 49.75 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09796/0.09822, allocations: 62.95 MB / 0.5153 GB, free: 2.766 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test33): time 0.002057/0.1003, allocations: 1.284 MB / 0.5166 GB, free: 1.465 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001588/0.1019, allocations: 1.082 MB / 0.5176 GB, free: 384 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.117e-05/0.102, allocations: 0 / 0.5176 GB, free: 384 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002124/0.1023, allocations: 19.92 kB / 0.5177 GB, free: 364 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002657/0.1025, allocations: 71.75 kB / 0.5177 GB, free: 292 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002956/0.1028, allocations: 94.56 kB / 0.5178 GB, free: 200 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001241/0.103, allocations: 51.84 kB / 0.5179 GB, free: 148 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.529e-05/0.1031, allocations: 23.97 kB / 0.5179 GB, free: 124 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.965e-05/0.1031, allocations: 19.86 kB / 0.5179 GB, free: 104 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001432/0.1033, allocations: 31.78 kB / 0.5179 GB, free: 72 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.574e-05/0.1033, allocations: 4 kB / 0.5179 GB, free: 68 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1806/0.284, allocations: 79.36 kB / 0.518 GB, free: 9.926 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.399e-05/0.2841, allocations: 9.688 kB / 0.518 GB, free: 9.926 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.762e-05/0.2841, allocations: 33.17 kB / 0.5181 GB, free: 9.895 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003043/0.2844, allocations: 95.7 kB / 0.5181 GB, free: 9.895 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.2844, allocations: 0 / 0.5181 GB, free: 9.895 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.906e-06/0.2845, allocations: 0.8125 kB / 0.5181 GB, free: 9.895 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.558e-06/0.2845, allocations: 2.5 kB / 0.5181 GB, free: 9.895 MB / 346.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.000455/0.2849, allocations: 395.6 kB / 0.5185 GB, free: 9.516 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.285, allocations: 9.438 kB / 0.5185 GB, free: 9.516 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.416e-05/0.285, allocations: 10.48 kB / 0.5185 GB, free: 9.512 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000182/0.2852, allocations: 190.1 kB / 0.5187 GB, free: 9.312 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.2852, allocations: 1.188 kB / 0.5187 GB, free: 9.312 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.419e-05/0.2853, allocations: 3.891 kB / 0.5187 GB, free: 9.312 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.2854, allocations: 63.17 kB / 0.5188 GB, free: 9.266 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.2854, allocations: 1.531 kB / 0.5188 GB, free: 9.266 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.2855, allocations: 3.594 kB / 0.5188 GB, free: 9.266 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.2855, allocations: 3.75 kB / 0.5188 GB, free: 9.266 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000108/0.2856, allocations: 28.06 kB / 0.5188 GB, free: 9.266 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003755/0.286, allocations: 298.2 kB / 0.5191 GB, free: 8.992 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002021/0.2862, allocations: 48.38 kB / 0.5192 GB, free: 8.969 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.855e-05/0.2863, allocations: 19.31 kB / 0.5192 GB, free: 8.961 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.2863, allocations: 1.344 kB / 0.5192 GB, free: 8.961 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.494e-05/0.2863, allocations: 37.31 kB / 0.5192 GB, free: 8.918 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.2863, allocations: 0 / 0.5192 GB, free: 8.918 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006129/0.2869, allocations: 165 kB / 0.5194 GB, free: 8.871 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.729e-05/0.287, allocations: 79.73 kB / 0.5194 GB, free: 8.777 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/0.2871, allocations: 148.2 kB / 0.5196 GB, free: 8.676 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.2871, allocations: 28.17 kB / 0.5196 GB, free: 8.645 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.586e-05/0.2872, allocations: 94.27 kB / 0.5197 GB, free: 8.562 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.065e-05/0.2872, allocations: 17.75 kB / 0.5197 GB, free: 8.551 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-06/0.2872, allocations: 1.062 kB / 0.5197 GB, free: 8.551 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.578e-05/0.2873, allocations: 324.5 kB / 0.52 GB, free: 8.234 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.386e-05/0.2874, allocations: 21.73 kB / 0.5201 GB, free: 8.234 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.362e-05/0.2875, allocations: 42 kB / 0.5201 GB, free: 8.219 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.124e-05/0.2876, allocations: 31.7 kB / 0.5201 GB, free: 8.215 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.2876, allocations: 0 / 0.5201 GB, free: 8.215 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002077/0.2878, allocations: 92.83 kB / 0.5202 GB, free: 8.18 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.2878, allocations: 8.344 kB / 0.5202 GB, free: 8.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.2878, allocations: 0 / 0.5202 GB, free: 8.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.2878, allocations: 0.6562 kB / 0.5202 GB, free: 8.18 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.043e-05/0.2879, allocations: 23.42 kB / 0.5202 GB, free: 8.176 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.2879, allocations: 5.641 kB / 0.5202 GB, free: 8.172 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.172e-05/0.288, allocations: 7.922 kB / 0.5203 GB, free: 8.172 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/0.288, allocations: 5.75 kB / 0.5203 GB, free: 8.168 MB / 346.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 6.171e-05/0.2881, allocations: 115.1 kB / 0.5204 GB, free: 8.055 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.392e-05/0.2881, allocations: 10.02 kB / 0.5204 GB, free: 8.051 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002529/0.2884, allocations: 109.2 kB / 0.5205 GB, free: 8.016 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.2884, allocations: 1.25 kB / 0.5205 GB, free: 8.016 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.2884, allocations: 0 / 0.5205 GB, free: 8.016 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.2884, allocations: 2.016 kB / 0.5205 GB, free: 8.016 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003899/0.2888, allocations: 372.3 kB / 0.5208 GB, free: 7.715 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.2888, allocations: 0 / 0.5208 GB, free: 7.715 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.832e-05/0.2889, allocations: 13.81 kB / 0.5209 GB, free: 7.715 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.2889, allocations: 1.781 kB / 0.5209 GB, free: 7.715 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.2889, allocations: 1.031 kB / 0.5209 GB, free: 7.715 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2889, allocations: 0 / 0.5209 GB, free: 7.715 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2889, allocations: 1.062 kB / 0.5209 GB, free: 7.715 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002084/0.2891, allocations: 196.4 kB / 0.521 GB, free: 7.574 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.152e-05/0.2891, allocations: 93.81 kB / 0.5211 GB, free: 7.477 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.2892, allocations: 1.656 kB / 0.5211 GB, free: 7.477 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.626e-05/0.2893, allocations: 7.422 kB / 0.5211 GB, free: 7.477 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.587e-05/0.2893, allocations: 8.734 kB / 0.5212 GB, free: 7.473 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.2893, allocations: 3.438 kB / 0.5212 GB, free: 7.473 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.351e-05/0.2894, allocations: 118.5 kB / 0.5213 GB, free: 7.395 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2894, allocations: 0 / 0.5213 GB, free: 7.395 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002848/0.2897, allocations: 39.72 kB / 0.5213 GB, free: 7.387 MB / 346.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.000918/0.2906, allocations: 488.8 kB / 0.5218 GB, free: 7.156 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000221/0.2908, allocations: 65.5 kB / 0.5218 GB, free: 7.152 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2909, allocations: 0.6875 kB / 0.5218 GB, free: 7.152 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.836e-05/0.291, allocations: 29.3 kB / 0.5219 GB, free: 7.152 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/0.2913, allocations: 17.81 kB / 0.5219 GB, free: 7.152 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003562/0.2916, allocations: 214.9 kB / 0.5221 GB, free: 6.977 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001181/0.2918, allocations: 0.6982 MB / 0.5228 GB, free: 6.277 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.536e-05/0.2918, allocations: 16.58 kB / 0.5228 GB, free: 6.27 MB / 346.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2918, allocations: 1.062 kB / 0.5228 GB, free: 6.27 MB / 346.7 MB Notification: Performance of Templates: time 0.00413/0.296, allocations: 1.948 MB / 0.5247 GB, free: 6.055 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test33.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test33.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test33 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test33/Test33.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches