Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.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.Test30,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test30,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009159/0.0009199, allocations: 195.2 kB / 16.1 MB, free: 5.707 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.23/1.23, allocations: 226.5 MB / 243.4 MB, free: 6.52 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007446/0.0007446, allocations: 104.4 kB / 295.5 MB, free: 6.684 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2961/0.2961, allocations: 44.83 MB / 392.3 MB, free: 35.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002409/0.000241, allocations: 8 kB / 465.4 MB, free: 12.59 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2712/0.2715, allocations: 62.96 MB / 0.516 GB, free: 36.96 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.00159/0.2731, allocations: 1.305 MB / 0.5172 GB, free: 36.01 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006995/0.2738, allocations: 0.4926 MB / 0.5177 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.735e-05/0.2739, allocations: 3.938 kB / 0.5177 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002435/0.2741, allocations: 75.31 kB / 0.5178 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002255/0.2744, allocations: 83.86 kB / 0.5179 GB, free: 35.63 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002375/0.2746, allocations: 76.73 kB / 0.5179 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001382/0.2748, allocations: 78.64 kB / 0.518 GB, free: 35.56 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.097e-05/0.2749, allocations: 18.45 kB / 0.518 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.777e-05/0.2749, allocations: 24.22 kB / 0.5181 GB, free: 35.54 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.083e-05/0.275, allocations: 49.53 kB / 0.5181 GB, free: 35.53 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.344e-05/0.275, allocations: 0 / 0.5181 GB, free: 35.53 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.322e-05/0.2751, allocations: 38.22 kB / 0.5181 GB, free: 35.52 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.336e-05/0.2752, allocations: 23.8 kB / 0.5182 GB, free: 35.51 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.807e-05/0.2752, allocations: 48.48 kB / 0.5182 GB, free: 35.46 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00012/0.2754, allocations: 88.25 kB / 0.5183 GB, free: 35.43 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.2754, allocations: 0 / 0.5183 GB, free: 35.43 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2754, allocations: 0 / 0.5183 GB, free: 35.43 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.707e-06/0.2754, allocations: 0 / 0.5183 GB, free: 35.43 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.0003617/0.2757, allocations: 397 kB / 0.5187 GB, free: 35.03 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.2758, allocations: 8.25 kB / 0.5187 GB, free: 35.03 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.978e-05/0.2758, allocations: 33.5 kB / 0.5187 GB, free: 34.99 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.62e-05/0.2759, allocations: 17.97 kB / 0.5187 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001359/0.276, allocations: 196.5 kB / 0.5189 GB, free: 34.76 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.276, allocations: 7.25 kB / 0.5189 GB, free: 34.76 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/0.276, allocations: 11.28 kB / 0.5189 GB, free: 34.75 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001245/0.2762, allocations: 58.27 kB / 0.519 GB, free: 34.71 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.2762, allocations: 4 kB / 0.519 GB, free: 34.7 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.2762, allocations: 0 / 0.519 GB, free: 34.7 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.2762, allocations: 2.844 kB / 0.519 GB, free: 34.7 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.085e-05/0.2763, allocations: 32.09 kB / 0.519 GB, free: 34.7 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002744/0.2766, allocations: 301.9 kB / 0.5193 GB, free: 34.39 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.045e-05/0.2767, allocations: 42.91 kB / 0.5194 GB, free: 34.37 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.489e-05/0.2767, allocations: 18.52 kB / 0.5194 GB, free: 34.36 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.2768, allocations: 4 kB / 0.5194 GB, free: 34.35 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.286e-05/0.2768, allocations: 36.8 kB / 0.5194 GB, free: 34.31 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.2768, allocations: 0 / 0.5194 GB, free: 34.31 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008036/0.2776, allocations: 246.2 kB / 0.5196 GB, free: 34.22 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.311e-05/0.2776, allocations: 58.31 kB / 0.5197 GB, free: 34.16 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/0.2778, allocations: 222.9 kB / 0.5199 GB, free: 34.02 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.907e-06/0.2778, allocations: 25.7 kB / 0.5199 GB, free: 33.99 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.674e-05/0.2779, allocations: 105.3 kB / 0.52 GB, free: 33.89 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.144e-05/0.2779, allocations: 29.84 kB / 0.5201 GB, free: 33.87 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.789e-06/0.2779, allocations: 4 kB / 0.5201 GB, free: 33.86 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.717e-05/0.2779, allocations: 324 kB / 0.5204 GB, free: 33.55 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.387e-05/0.278, allocations: 26.2 kB / 0.5204 GB, free: 33.54 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.281e-05/0.2781, allocations: 31.59 kB / 0.5204 GB, free: 33.53 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/0.2783, allocations: 71.7 kB / 0.5205 GB, free: 33.5 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.2783, allocations: 0 / 0.5205 GB, free: 33.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001806/0.2784, allocations: 112 kB / 0.5206 GB, free: 33.45 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.2785, allocations: 5.844 kB / 0.5206 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.2785, allocations: 0 / 0.5206 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.2785, allocations: 0 / 0.5206 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.976e-05/0.2786, allocations: 24.7 kB / 0.5206 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.2786, allocations: 3.938 kB / 0.5206 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.402e-05/0.2787, allocations: 17.17 kB / 0.5207 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.2787, allocations: 0 / 0.5207 GB, free: 33.43 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.43e-05/0.2787, allocations: 124.7 kB / 0.5208 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.887e-05/0.2788, allocations: 9.438 kB / 0.5208 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002342/0.279, allocations: 131.9 kB / 0.5209 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.279, allocations: 0 / 0.5209 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.279, allocations: 3.938 kB / 0.5209 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.279, allocations: 2.781 kB / 0.5209 GB, free: 33.24 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003944/0.2794, allocations: 408.9 kB / 0.5213 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.2795, allocations: 2.938 kB / 0.5213 GB, free: 32.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.437e-05/0.2795, allocations: 26.66 kB / 0.5213 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.2795, allocations: 0 / 0.5213 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-06/0.2795, allocations: 3.938 kB / 0.5213 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.664e-06/0.2795, allocations: 3.031 kB / 0.5213 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.2796, allocations: 432 / 0.5213 GB, free: 32.88 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001938/0.2798, allocations: 215.7 kB / 0.5216 GB, free: 32.71 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.66e-05/0.2798, allocations: 94.23 kB / 0.5216 GB, free: 32.6 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.2798, allocations: 8 kB / 0.5217 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.984e-05/0.2799, allocations: 12.16 kB / 0.5217 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.88e-05/0.2799, allocations: 12.83 kB / 0.5217 GB, free: 32.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.511e-06/0.2799, allocations: 2.5 kB / 0.5217 GB, free: 32.59 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.076e-05/0.28, allocations: 161 kB / 0.5218 GB, free: 32.49 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.28, allocations: 0 / 0.5218 GB, free: 32.49 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002262/0.2803, allocations: 22.06 kB / 0.5219 GB, free: 32.48 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.001208/0.2815, allocations: 1.092 MB / 0.5229 GB, free: 31.64 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002172/0.2817, allocations: 65.52 kB / 0.523 GB, free: 31.63 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2817, allocations: 0 / 0.523 GB, free: 31.63 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.125e-05/0.2818, allocations: 41.34 kB / 0.523 GB, free: 31.62 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003289/0.2822, allocations: 18.34 kB / 0.523 GB, free: 31.62 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.2832, allocations: 0.8055 MB / 0.5238 GB, free: 31.09 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001321/0.2833, allocations: 0.7085 MB / 0.5245 GB, free: 30.39 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.85e-05/0.2834, allocations: 32 kB / 0.5245 GB, free: 30.37 MB / 378.7 MB Notification: Performance of SimCode: time 3.21e-07/0.2834, allocations: 0 / 0.5245 GB, free: 30.37 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.749/3.033, allocations: 2.18 MB / 0.5267 GB, free: 30.12 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test30_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test30.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches