Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test6.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.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test6") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009185/0.0009185, allocations: 198.5 kB / 15.8 MB, free: 6.305 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.303/1.303, allocations: 226.5 MB / 243.1 MB, free: 12.57 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007656/0.0007658, allocations: 98.14 kB / 295.1 MB, free: 4.359 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1904/0.1904, allocations: 44.83 MB / 392 MB, free: 11.38 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002417/0.0002416, allocations: 8 kB / 464.7 MB, free: 68.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08856/0.08882, allocations: 62.96 MB / 0.5153 GB, free: 5.117 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test6): time 0.001551/0.09043, allocations: 1.339 MB / 0.5166 GB, free: 3.758 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006473/0.09109, allocations: 0.4992 MB / 0.5171 GB, free: 3.254 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.799e-05/0.09115, allocations: 0 / 0.5171 GB, free: 3.254 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003813/0.09154, allocations: 443.2 kB / 0.5175 GB, free: 2.82 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002726/0.09182, allocations: 275.5 kB / 0.5178 GB, free: 2.551 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002463/0.09208, allocations: 115 kB / 0.5179 GB, free: 2.441 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001357/0.09222, allocations: 131.7 kB / 0.518 GB, free: 2.312 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.237e-05/0.09231, allocations: 19.98 kB / 0.5181 GB, free: 2.293 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.438e-05/0.09239, allocations: 99.73 kB / 0.5182 GB, free: 2.195 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/0.09254, allocations: 171.7 kB / 0.5183 GB, free: 2.027 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.09256, allocations: 0 / 0.5183 GB, free: 2.027 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.905e-05/0.09264, allocations: 27.98 kB / 0.5184 GB, free: 2 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.968e-05/0.09271, allocations: 91.69 kB / 0.5184 GB, free: 1.91 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.884e-05/0.09275, allocations: 65.52 kB / 0.5185 GB, free: 1.84 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001494/0.09291, allocations: 187.7 kB / 0.5187 GB, free: 1.656 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.09292, allocations: 3.938 kB / 0.5187 GB, free: 1.652 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.09292, allocations: 0 / 0.5187 GB, free: 1.652 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.09293, allocations: 0 / 0.5187 GB, free: 1.652 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005191/0.09346, allocations: 0.5952 MB / 0.5193 GB, free: 1.008 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.061e-05/0.09349, allocations: 12.03 kB / 0.5193 GB, free: 0.9961 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.471e-05/0.09355, allocations: 43.44 kB / 0.5193 GB, free: 0.9531 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001877/0.09374, allocations: 291.2 kB / 0.5196 GB, free: 0.6289 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.09376, allocations: 0 / 0.5196 GB, free: 0.6289 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.961e-05/0.09378, allocations: 7.938 kB / 0.5196 GB, free: 0.6211 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.09392, allocations: 57.67 kB / 0.5197 GB, free: 0.5586 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.09394, allocations: 0 / 0.5197 GB, free: 0.5586 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.749e-06/0.09396, allocations: 4 kB / 0.5197 GB, free: 0.5547 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.09397, allocations: 0 / 0.5197 GB, free: 0.5547 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001189/0.09409, allocations: 47.97 kB / 0.5197 GB, free: 0.5078 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003186/0.09442, allocations: 384.7 kB / 0.5201 GB, free: 84 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.09453, allocations: 50.56 kB / 0.5201 GB, free: 24 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.502e-05/0.09463, allocations: 28.94 kB / 0.5202 GB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.09465, allocations: 0 / 0.5202 GB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.034e-05/0.09468, allocations: 30.56 kB / 0.5202 GB, free: 15.95 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 8.91e-07/0.09469, allocations: 4 kB / 0.5202 GB, free: 15.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.000836/0.09553, allocations: 323.8 kB / 0.5205 GB, free: 15.62 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.6e-05/0.09558, allocations: 59.36 kB / 0.5205 GB, free: 15.55 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007577/0.09634, allocations: 0.8652 MB / 0.5214 GB, free: 14.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.09636, allocations: 29.64 kB / 0.5214 GB, free: 14.64 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/0.09652, allocations: 212.1 kB / 0.5216 GB, free: 14.43 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.446e-05/0.09655, allocations: 27.64 kB / 0.5217 GB, free: 14.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-06/0.09656, allocations: 0 / 0.5217 GB, free: 14.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.0967, allocations: 358.8 kB / 0.522 GB, free: 14.05 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/0.09683, allocations: 39.97 kB / 0.522 GB, free: 14.01 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001037/0.09694, allocations: 39.97 kB / 0.5221 GB, free: 13.97 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.09708, allocations: 47.91 kB / 0.5221 GB, free: 13.92 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.0971, allocations: 4 kB / 0.5221 GB, free: 13.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002997/0.0974, allocations: 153.1 kB / 0.5223 GB, free: 13.76 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.09742, allocations: 10.5 kB / 0.5223 GB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.09743, allocations: 4 kB / 0.5223 GB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.09745, allocations: 4 kB / 0.5223 GB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.09758, allocations: 27.92 kB / 0.5223 GB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.09759, allocations: 0 / 0.5223 GB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.45e-05/0.09767, allocations: 19.94 kB / 0.5223 GB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.09768, allocations: 4 kB / 0.5223 GB, free: 13.7 MB / 362.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 (7): * Single equations (assignments): 7 * 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 0.0001776/0.09786, allocations: 209.8 kB / 0.5225 GB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.049e-05/0.09792, allocations: 43.44 kB / 0.5226 GB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003613/0.09829, allocations: 189.7 kB / 0.5228 GB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.0983, allocations: 0 / 0.5228 GB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.09831, allocations: 4 kB / 0.5228 GB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.09832, allocations: 0 / 0.5228 GB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005982/0.09892, allocations: 0.5062 MB / 0.5233 GB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.09893, allocations: 0 / 0.5233 GB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.73e-05/0.09902, allocations: 23.98 kB / 0.5233 GB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.09903, allocations: 0 / 0.5233 GB, free: 12.65 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.09906, allocations: 7.938 kB / 0.5233 GB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.09906, allocations: 0 / 0.5233 GB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.09907, allocations: 7.953 kB / 0.5233 GB, free: 12.64 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003242/0.0994, allocations: 254.9 kB / 0.5235 GB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.103e-05/0.09948, allocations: 120.5 kB / 0.5236 GB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.203e-05/0.09951, allocations: 0 / 0.5236 GB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.09962, allocations: 8 kB / 0.5237 GB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.58e-05/0.09966, allocations: 12.22 kB / 0.5237 GB, free: 12.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.042e-06/0.09967, allocations: 8 kB / 0.5237 GB, free: 12.21 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005638/0.1002, allocations: 0.655 MB / 0.5243 GB, free: 11.55 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1002, allocations: 0 / 0.5243 GB, free: 11.55 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002212/0.1005, allocations: 24 kB / 0.5243 GB, free: 11.53 MB / 362.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 (7): * Single equations (assignments): 7 * 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.0007839/0.1013, allocations: 399.7 kB / 0.5247 GB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002837/0.1016, allocations: 99.86 kB / 0.5248 GB, free: 11.17 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1016, allocations: 0 / 0.5248 GB, free: 11.17 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001185/0.1017, allocations: 51.97 kB / 0.5249 GB, free: 11.12 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/0.102, allocations: 29.56 kB / 0.5249 GB, free: 11.1 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/0.103, allocations: 0.8706 MB / 0.5257 GB, free: 10.2 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000388/0.1034, allocations: 0.8223 MB / 0.5265 GB, free: 9.348 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.626e-05/0.1035, allocations: 19.44 kB / 0.5266 GB, free: 9.328 MB / 362.7 MB Notification: Performance of SimCode: time 2.51e-07/0.1035, allocations: 0 / 0.5266 GB, free: 9.328 MB / 362.7 MB Notification: Performance of Templates: time 0.005955/0.1095, allocations: 3.77 MB / 0.5302 GB, free: 5.559 MB / 362.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test6.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test6.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test6 --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test6/Test6.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches