Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.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.CombiTable1Ds.Test5,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test5,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001051/0.001052, allocations: 201.7 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.227/1.227, allocations: 226.5 MB / 243.4 MB, free: 6.504 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007134/0.0007134, allocations: 97.3 kB / 295.5 MB, free: 6.699 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2885/0.2885, allocations: 44.82 MB / 392.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002834/0.0002835, allocations: 8 kB / 465.4 MB, free: 12.57 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2874/0.2877, allocations: 62.98 MB / 0.516 GB, free: 37.09 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.001559/0.2893, allocations: 1.307 MB / 0.5172 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006412/0.29, allocations: 493.9 kB / 0.5177 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.743e-05/0.2901, allocations: 7.938 kB / 0.5177 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002427/0.2903, allocations: 93.77 kB / 0.5178 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000177/0.2905, allocations: 91.56 kB / 0.5179 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002004/0.2907, allocations: 78.56 kB / 0.518 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.2908, allocations: 74.94 kB / 0.518 GB, free: 35.69 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.803e-05/0.2909, allocations: 17.8 kB / 0.5181 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.681e-05/0.291, allocations: 33.47 kB / 0.5181 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.976e-05/0.2911, allocations: 45.36 kB / 0.5181 GB, free: 35.65 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.2911, allocations: 0 / 0.5181 GB, free: 35.65 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.614e-05/0.2912, allocations: 42.89 kB / 0.5182 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.474e-05/0.2912, allocations: 15.91 kB / 0.5182 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.691e-05/0.2913, allocations: 62.98 kB / 0.5183 GB, free: 35.58 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001127/0.2914, allocations: 74.66 kB / 0.5183 GB, free: 35.55 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.2914, allocations: 2.875 kB / 0.5183 GB, free: 35.55 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.2914, allocations: 0 / 0.5183 GB, free: 35.55 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.217e-06/0.2914, allocations: 0 / 0.5183 GB, free: 35.55 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.0003528/0.2918, allocations: 404.6 kB / 0.5187 GB, free: 35.15 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.2918, allocations: 7 kB / 0.5187 GB, free: 35.15 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.91e-05/0.2918, allocations: 41.31 kB / 0.5188 GB, free: 35.11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.391e-05/0.2919, allocations: 18.66 kB / 0.5188 GB, free: 35.1 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.292, allocations: 207.1 kB / 0.519 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.255e-06/0.292, allocations: 384 / 0.519 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.598e-05/0.292, allocations: 3.344 kB / 0.519 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001219/0.2922, allocations: 59.2 kB / 0.519 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.2922, allocations: 0 / 0.519 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.2922, allocations: 0 / 0.519 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.2922, allocations: 3.031 kB / 0.519 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.781e-05/0.2923, allocations: 36.31 kB / 0.5191 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002683/0.2926, allocations: 292.1 kB / 0.5194 GB, free: 34.53 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.164e-05/0.2927, allocations: 43.78 kB / 0.5194 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.479e-05/0.2927, allocations: 20.92 kB / 0.5194 GB, free: 34.49 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.777e-05/0.2928, allocations: 4 kB / 0.5194 GB, free: 34.48 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.283e-05/0.2928, allocations: 33.59 kB / 0.5195 GB, free: 34.45 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.2928, allocations: 0 / 0.5195 GB, free: 34.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007762/0.2936, allocations: 255.8 kB / 0.5197 GB, free: 34.35 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.909e-05/0.2936, allocations: 55.41 kB / 0.5197 GB, free: 34.29 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001625/0.2938, allocations: 238 kB / 0.52 GB, free: 34.14 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.426e-06/0.2938, allocations: 25.7 kB / 0.52 GB, free: 34.11 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.945e-05/0.2938, allocations: 112.3 kB / 0.5201 GB, free: 34.01 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.949e-05/0.2938, allocations: 25.97 kB / 0.5201 GB, free: 33.99 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.068e-06/0.2939, allocations: 0 / 0.5201 GB, free: 33.99 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.944e-05/0.2939, allocations: 321.2 kB / 0.5204 GB, free: 33.67 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.421e-05/0.294, allocations: 32.81 kB / 0.5205 GB, free: 33.66 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.086e-05/0.2941, allocations: 30.3 kB / 0.5205 GB, free: 33.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/0.2942, allocations: 67.06 kB / 0.5206 GB, free: 33.63 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.72e-07/0.2942, allocations: 6.406 kB / 0.5206 GB, free: 33.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001756/0.2944, allocations: 111.2 kB / 0.5207 GB, free: 33.57 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.2944, allocations: 5.906 kB / 0.5207 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.2944, allocations: 0 / 0.5207 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.2944, allocations: 3 kB / 0.5207 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.023e-05/0.2945, allocations: 22.81 kB / 0.5207 GB, free: 33.56 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.2945, allocations: 8.25 kB / 0.5207 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.053e-05/0.2946, allocations: 5.844 kB / 0.5207 GB, free: 33.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.2946, allocations: 0 / 0.5207 GB, free: 33.55 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 6.832e-05/0.2947, allocations: 132.9 kB / 0.5208 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.953e-05/0.2947, allocations: 16.97 kB / 0.5209 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002571/0.295, allocations: 129.2 kB / 0.521 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.295, allocations: 6.828 kB / 0.521 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.295, allocations: 3.938 kB / 0.521 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.295, allocations: 0 / 0.521 GB, free: 33.35 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003802/0.2954, allocations: 412.4 kB / 0.5214 GB, free: 33 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.2954, allocations: 10.88 kB / 0.5214 GB, free: 32.99 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.493e-05/0.2955, allocations: 29.52 kB / 0.5214 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.2955, allocations: 0 / 0.5214 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.2955, allocations: 2.719 kB / 0.5214 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.2955, allocations: 0 / 0.5214 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.2955, allocations: 2.969 kB / 0.5214 GB, free: 32.98 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001951/0.2957, allocations: 207.8 kB / 0.5216 GB, free: 32.82 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.024e-05/0.2957, allocations: 91.34 kB / 0.5217 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.2958, allocations: 7.375 kB / 0.5217 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.966e-05/0.2958, allocations: 11.27 kB / 0.5217 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.767e-05/0.2959, allocations: 3.906 kB / 0.5217 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.2959, allocations: 6.953 kB / 0.5217 GB, free: 32.71 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001032/0.296, allocations: 172.9 kB / 0.5219 GB, free: 32.61 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.296, allocations: 3.938 kB / 0.5219 GB, free: 32.6 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003213/0.2963, allocations: 21.83 kB / 0.5219 GB, free: 32.6 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.001098/0.2974, allocations: 1.089 MB / 0.523 GB, free: 31.76 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001829/0.2976, allocations: 81.58 kB / 0.5231 GB, free: 31.74 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2976, allocations: 0 / 0.5231 GB, free: 31.74 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.559e-05/0.2977, allocations: 42.89 kB / 0.5231 GB, free: 31.73 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002916/0.298, allocations: 20.09 kB / 0.5231 GB, free: 31.72 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/0.299, allocations: 0.8451 MB / 0.524 GB, free: 31.18 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000119/0.2992, allocations: 0.7084 MB / 0.5247 GB, free: 30.48 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.196e-05/0.2992, allocations: 36.69 kB / 0.5247 GB, free: 30.45 MB / 378.7 MB Notification: Performance of SimCode: time 3.41e-07/0.2992, allocations: 0 / 0.5247 GB, free: 30.45 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.795/3.094, allocations: 2.268 MB / 0.5269 GB, free: 30.19 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test5.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches