Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test28.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test28,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test28,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test28",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009391/0.0009392, allocations: 199.4 kB / 16.1 MB, free: 5.699 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.202/1.202, allocations: 226.5 MB / 243.4 MB, free: 8.207 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007529/0.0007529, allocations: 100.7 kB / 295.5 MB, free: 6.867 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3002/0.3002, allocations: 44.82 MB / 392.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002398/0.0002399, allocations: 8 kB / 465.4 MB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2634/0.2636, allocations: 62.97 MB / 0.516 GB, free: 37.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test28): time 0.001592/0.2653, allocations: 1.361 MB / 0.5173 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006586/0.2659, allocations: 0.5041 MB / 0.5178 GB, free: 35.87 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.008e-05/0.266, allocations: 0 / 0.5178 GB, free: 35.87 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001939/0.2662, allocations: 59.88 kB / 0.5178 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001918/0.2664, allocations: 81.41 kB / 0.5179 GB, free: 35.82 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002588/0.2667, allocations: 110.6 kB / 0.518 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001127/0.2668, allocations: 77.97 kB / 0.5181 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.987e-05/0.2669, allocations: 16.38 kB / 0.5181 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.737e-05/0.2669, allocations: 26.55 kB / 0.5181 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.055e-05/0.267, allocations: 43.61 kB / 0.5182 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.253e-05/0.267, allocations: 6.969 kB / 0.5182 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.969e-05/0.2671, allocations: 38.06 kB / 0.5182 GB, free: 35.69 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.91e-05/0.2672, allocations: 20.25 kB / 0.5182 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.962e-05/0.2672, allocations: 58.69 kB / 0.5183 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001156/0.2674, allocations: 80.22 kB / 0.5184 GB, free: 35.6 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.2674, allocations: 0 / 0.5184 GB, free: 35.6 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2674, allocations: 0 / 0.5184 GB, free: 35.6 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.2674, allocations: 6.469 kB / 0.5184 GB, free: 35.6 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004215/0.2678, allocations: 412.6 kB / 0.5188 GB, free: 35.2 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.2679, allocations: 8.844 kB / 0.5188 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.031e-05/0.2679, allocations: 34.75 kB / 0.5188 GB, free: 35.15 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.665e-05/0.2679, allocations: 14.47 kB / 0.5188 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.2681, allocations: 202.4 kB / 0.519 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.2681, allocations: 3.406 kB / 0.519 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.078e-05/0.2681, allocations: 11.3 kB / 0.519 GB, free: 34.92 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.2683, allocations: 76.69 kB / 0.5191 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.2683, allocations: 0 / 0.5191 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.867e-06/0.2683, allocations: 0 / 0.5191 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.2683, allocations: 2.875 kB / 0.5191 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001273/0.2685, allocations: 50.41 kB / 0.5192 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003047/0.2688, allocations: 312.9 kB / 0.5195 GB, free: 34.55 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002232/0.269, allocations: 57.92 kB / 0.5195 GB, free: 34.52 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.145e-05/0.2691, allocations: 33.52 kB / 0.5196 GB, free: 34.51 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.91e-05/0.2691, allocations: 0 / 0.5196 GB, free: 34.51 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.29e-05/0.2691, allocations: 37.56 kB / 0.5196 GB, free: 34.46 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 8.12e-07/0.2691, allocations: 0 / 0.5196 GB, free: 34.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001341/0.2705, allocations: 471.9 kB / 0.52 GB, free: 34.33 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.07e-05/0.2705, allocations: 54.25 kB / 0.5201 GB, free: 34.27 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/0.2707, allocations: 198.3 kB / 0.5203 GB, free: 34.14 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.2707, allocations: 32.36 kB / 0.5203 GB, free: 34.11 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.602e-05/0.2707, allocations: 108.5 kB / 0.5204 GB, free: 34.01 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.418e-05/0.2707, allocations: 33.83 kB / 0.5204 GB, free: 33.98 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.021e-06/0.2708, allocations: 2.438 kB / 0.5204 GB, free: 33.98 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.733e-05/0.2708, allocations: 325.3 kB / 0.5208 GB, free: 33.66 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001191/0.2709, allocations: 46.77 kB / 0.5208 GB, free: 33.65 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.271, allocations: 58.09 kB / 0.5209 GB, free: 33.64 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002252/0.2713, allocations: 112.4 kB / 0.521 GB, free: 33.6 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.2713, allocations: 0 / 0.521 GB, free: 33.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002806/0.2716, allocations: 168.3 kB / 0.5211 GB, free: 33.52 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.2716, allocations: 8.25 kB / 0.5211 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.2716, allocations: 0 / 0.5211 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.2716, allocations: 3.938 kB / 0.5211 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001002/0.2717, allocations: 27.62 kB / 0.5212 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.8e-06/0.2717, allocations: 6.703 kB / 0.5212 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.194e-05/0.2718, allocations: 15.53 kB / 0.5212 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/0.2718, allocations: 2.781 kB / 0.5212 GB, free: 33.51 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 (11): * Single equations (assignments): 11 * 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 7.157e-05/0.2719, allocations: 128 kB / 0.5213 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.974e-05/0.2719, allocations: 9.312 kB / 0.5213 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003405/0.2723, allocations: 184.3 kB / 0.5215 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.2723, allocations: 3.938 kB / 0.5215 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.2723, allocations: 0 / 0.5215 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.2723, allocations: 6.312 kB / 0.5215 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005205/0.2728, allocations: 0.4927 MB / 0.522 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.2729, allocations: 0 / 0.522 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.962e-05/0.273, allocations: 28.91 kB / 0.522 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.273, allocations: 0 / 0.522 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.507e-06/0.273, allocations: 2.812 kB / 0.522 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.273, allocations: 3.234 kB / 0.522 GB, free: 32.91 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.273, allocations: 3.938 kB / 0.522 GB, free: 32.9 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000283/0.2733, allocations: 278.5 kB / 0.5223 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.972e-05/0.2733, allocations: 86.8 kB / 0.5224 GB, free: 32.61 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/0.2733, allocations: 6.844 kB / 0.5224 GB, free: 32.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.232e-05/0.2734, allocations: 14.45 kB / 0.5224 GB, free: 32.61 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.482e-05/0.2735, allocations: 7.031 kB / 0.5224 GB, free: 32.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-06/0.2735, allocations: 11.94 kB / 0.5224 GB, free: 32.6 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.884e-05/0.2736, allocations: 159.3 kB / 0.5226 GB, free: 32.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.2736, allocations: 0 / 0.5226 GB, free: 32.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002314/0.2738, allocations: 29.34 kB / 0.5226 GB, free: 32.49 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.00121/0.2751, allocations: 1.144 MB / 0.5237 GB, free: 31.63 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002773/0.2753, allocations: 123.9 kB / 0.5238 GB, free: 31.61 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2754, allocations: 0 / 0.5238 GB, free: 31.61 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001272/0.2755, allocations: 63.47 kB / 0.5239 GB, free: 31.59 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/0.2758, allocations: 18.39 kB / 0.5239 GB, free: 31.59 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001245/0.2771, allocations: 0.916 MB / 0.5248 GB, free: 31.01 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001737/0.2773, allocations: 0.7137 MB / 0.5255 GB, free: 30.31 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.928e-05/0.2773, allocations: 38.91 kB / 0.5255 GB, free: 30.29 MB / 378.7 MB Notification: Performance of SimCode: time 2.81e-07/0.2773, allocations: 0 / 0.5255 GB, free: 30.29 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.88/3.157, allocations: 2.359 MB / 0.5278 GB, free: 30.02 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test28_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test28_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test28.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test28/Test28.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Ds.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches