Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test31.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.Test31,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.CombiTable1Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test31,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.CombiTable1Dv.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002175/0.002175, allocations: 204.3 kB / 16.1 MB, free: 5.691 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.406/1.406, allocations: 226.6 MB / 243.4 MB, free: 8.16 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007666/0.0007665, allocations: 103.5 kB / 295.5 MB, free: 6.875 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.335/0.335, allocations: 44.82 MB / 392.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002887/0.0002888, allocations: 8 kB / 465.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3738/0.3741, allocations: 62.95 MB / 0.5159 GB, free: 37.01 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test31): time 0.001858/0.376, allocations: 1.306 MB / 0.5171 GB, free: 36.06 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007732/0.3768, allocations: 0.5001 MB / 0.5176 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.812e-05/0.3769, allocations: 3.938 kB / 0.5176 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002972/0.3772, allocations: 126.9 kB / 0.5178 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002182/0.3774, allocations: 109.4 kB / 0.5179 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002559/0.3777, allocations: 100.5 kB / 0.518 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001448/0.3778, allocations: 78.64 kB / 0.518 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.3779, allocations: 23.83 kB / 0.5181 GB, free: 35.58 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.941e-05/0.378, allocations: 39.78 kB / 0.5181 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.3781, allocations: 66.36 kB / 0.5182 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.3781, allocations: 2.844 kB / 0.5182 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.653e-05/0.3782, allocations: 41.98 kB / 0.5182 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.437e-05/0.3783, allocations: 29.86 kB / 0.5182 GB, free: 35.53 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.01e-05/0.3784, allocations: 59.64 kB / 0.5183 GB, free: 35.47 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000142/0.3785, allocations: 85.28 kB / 0.5184 GB, free: 35.45 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3785, allocations: 0 / 0.5184 GB, free: 35.45 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.584e-06/0.3785, allocations: 0 / 0.5184 GB, free: 35.45 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.92e-06/0.3785, allocations: 4 kB / 0.5184 GB, free: 35.44 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.0004589/0.379, allocations: 416.7 kB / 0.5188 GB, free: 35.04 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.379, allocations: 9.406 kB / 0.5188 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.849e-05/0.3791, allocations: 18.53 kB / 0.5188 GB, free: 35.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001725/0.3793, allocations: 213.1 kB / 0.519 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.3793, allocations: 384 / 0.519 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.663e-05/0.3793, allocations: 3.344 kB / 0.519 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.3795, allocations: 65.33 kB / 0.5191 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.3795, allocations: 3.984 kB / 0.5191 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/0.3795, allocations: 0 / 0.5191 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.3795, allocations: 0 / 0.5191 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.345e-05/0.3796, allocations: 31.38 kB / 0.5191 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003599/0.38, allocations: 321.1 kB / 0.5194 GB, free: 34.44 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001014/0.3801, allocations: 41.66 kB / 0.5194 GB, free: 34.41 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.841e-05/0.3802, allocations: 21.08 kB / 0.5195 GB, free: 34.4 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.645e-05/0.3802, allocations: 0 / 0.5195 GB, free: 34.4 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.3802, allocations: 37.38 kB / 0.5195 GB, free: 34.36 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.3803, allocations: 7.938 kB / 0.5195 GB, free: 34.35 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000874/0.3811, allocations: 274.8 kB / 0.5198 GB, free: 34.25 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.27e-05/0.3812, allocations: 54.06 kB / 0.5198 GB, free: 34.19 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002336/0.3814, allocations: 279.3 kB / 0.5201 GB, free: 34.04 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.208e-05/0.3814, allocations: 28.52 kB / 0.5201 GB, free: 34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.548e-05/0.3815, allocations: 117.4 kB / 0.5202 GB, free: 33.89 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.695e-05/0.3815, allocations: 30.44 kB / 0.5203 GB, free: 33.87 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.424e-06/0.3815, allocations: 2.781 kB / 0.5203 GB, free: 33.87 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.83e-05/0.3816, allocations: 321.7 kB / 0.5206 GB, free: 33.55 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.956e-05/0.3817, allocations: 35.06 kB / 0.5206 GB, free: 33.55 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.045e-05/0.3818, allocations: 40.36 kB / 0.5206 GB, free: 33.54 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/0.3819, allocations: 76.84 kB / 0.5207 GB, free: 33.51 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/0.382, allocations: 0 / 0.5207 GB, free: 33.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002006/0.3822, allocations: 127.9 kB / 0.5208 GB, free: 33.44 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.3822, allocations: 5.906 kB / 0.5208 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.3822, allocations: 3.781 kB / 0.5208 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.3822, allocations: 0 / 0.5208 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.946e-05/0.3823, allocations: 18.5 kB / 0.5209 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.3823, allocations: 6.844 kB / 0.5209 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.282e-05/0.3824, allocations: 10.94 kB / 0.5209 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.127e-06/0.3824, allocations: 14.86 kB / 0.5209 GB, free: 33.42 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 9.094e-05/0.3825, allocations: 135.1 kB / 0.521 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.142e-05/0.3825, allocations: 16.42 kB / 0.521 GB, free: 33.29 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002749/0.3828, allocations: 137 kB / 0.5212 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.3828, allocations: 0 / 0.5212 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.3829, allocations: 4 kB / 0.5212 GB, free: 33.23 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.3829, allocations: 3.938 kB / 0.5212 GB, free: 33.22 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004683/0.3833, allocations: 437.5 kB / 0.5216 GB, free: 32.87 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3833, allocations: 4.031 kB / 0.5216 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.465e-05/0.3834, allocations: 22.16 kB / 0.5216 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.3834, allocations: 7 kB / 0.5216 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.3834, allocations: 0 / 0.5216 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3835, allocations: 0 / 0.5216 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.858e-06/0.3835, allocations: 3 kB / 0.5216 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002283/0.3837, allocations: 225.2 kB / 0.5218 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.946e-05/0.3838, allocations: 91.89 kB / 0.5219 GB, free: 32.58 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.069e-05/0.3838, allocations: 6.266 kB / 0.5219 GB, free: 32.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.126e-05/0.3839, allocations: 9.938 kB / 0.5219 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.321e-05/0.3839, allocations: 6.312 kB / 0.5219 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.3839, allocations: 10.8 kB / 0.522 GB, free: 32.57 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001318/0.3841, allocations: 206.1 kB / 0.5222 GB, free: 32.46 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3841, allocations: 0 / 0.5222 GB, free: 32.46 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002383/0.3843, allocations: 25.38 kB / 0.5222 GB, free: 32.45 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.0009463/0.3853, allocations: 464 kB / 0.5226 GB, free: 32.22 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002245/0.3855, allocations: 76.31 kB / 0.5227 GB, free: 32.21 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3855, allocations: 0 / 0.5227 GB, free: 32.21 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.025e-05/0.3856, allocations: 52.55 kB / 0.5227 GB, free: 32.19 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.3859, allocations: 27.72 kB / 0.5228 GB, free: 32.17 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005254/0.3865, allocations: 367.2 kB / 0.5231 GB, free: 31.92 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000182/0.3867, allocations: 0.723 MB / 0.5238 GB, free: 31.22 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.366e-05/0.3867, allocations: 13.03 kB / 0.5238 GB, free: 31.21 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3867, allocations: 0 / 0.5238 GB, free: 31.21 MB / 378.7 MB Notification: Performance of Templates: time 0.003364/0.3901, allocations: 1.915 MB / 0.5257 GB, free: 30.99 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test31.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test31.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test31 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test31/Test31.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches