Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.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.Test1,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test1,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00105/0.00105, allocations: 193.8 kB / 16.09 MB, free: 5.68 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.214/1.214, allocations: 226.5 MB / 243.4 MB, free: 6.379 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007264/0.0007266, allocations: 97.08 kB / 295.5 MB, free: 6.68 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2759/0.2759, allocations: 44.82 MB / 392.3 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002482/0.0002482, allocations: 8 kB / 465.4 MB, free: 12.58 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.2651, allocations: 62.96 MB / 0.516 GB, free: 37.39 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.001365/0.2665, allocations: 1.29 MB / 0.5172 GB, free: 36.45 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006042/0.2671, allocations: 495.2 kB / 0.5177 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.242e-05/0.2671, allocations: 0 / 0.5177 GB, free: 36.12 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001605/0.2673, allocations: 28.05 kB / 0.5177 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001684/0.2675, allocations: 58.84 kB / 0.5178 GB, free: 36.08 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001904/0.2677, allocations: 77.69 kB / 0.5178 GB, free: 36.04 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001021/0.2678, allocations: 53.94 kB / 0.5179 GB, free: 36.02 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.78e-05/0.2679, allocations: 21.61 kB / 0.5179 GB, free: 36 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.728e-05/0.2679, allocations: 19.69 kB / 0.5179 GB, free: 36 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.508e-05/0.268, allocations: 20.56 kB / 0.518 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/0.268, allocations: 0 / 0.518 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.783e-05/0.268, allocations: 27.78 kB / 0.518 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.196e-05/0.2681, allocations: 10.14 kB / 0.518 GB, free: 35.97 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.209e-05/0.2681, allocations: 44.34 kB / 0.518 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 9.341e-05/0.2682, allocations: 60.11 kB / 0.5181 GB, free: 35.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.2682, allocations: 7.938 kB / 0.5181 GB, free: 35.9 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2682, allocations: 0 / 0.5181 GB, free: 35.9 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.507e-06/0.2682, allocations: 3.375 kB / 0.5181 GB, free: 35.9 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003107/0.2686, allocations: 364.3 kB / 0.5185 GB, free: 35.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.2686, allocations: 8.625 kB / 0.5185 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.473e-05/0.2686, allocations: 38.12 kB / 0.5185 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.263e-05/0.2687, allocations: 10.44 kB / 0.5185 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.2688, allocations: 194.6 kB / 0.5187 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.159e-06/0.2688, allocations: 4.312 kB / 0.5187 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/0.2688, allocations: 7.406 kB / 0.5187 GB, free: 35.26 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001128/0.2689, allocations: 50.33 kB / 0.5188 GB, free: 35.22 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.269, allocations: 11.88 kB / 0.5188 GB, free: 35.21 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.524e-05/0.269, allocations: 4 kB / 0.5188 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.269, allocations: 0 / 0.5188 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.536e-05/0.2691, allocations: 21.27 kB / 0.5188 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002331/0.2693, allocations: 282.1 kB / 0.5191 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000163/0.2695, allocations: 46.41 kB / 0.5191 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.62e-05/0.2696, allocations: 18.39 kB / 0.5191 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.551e-05/0.2696, allocations: 0 / 0.5191 GB, free: 34.87 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.076e-05/0.2696, allocations: 38.56 kB / 0.5192 GB, free: 34.82 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.2696, allocations: 0 / 0.5192 GB, free: 34.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004685/0.2701, allocations: 155.7 kB / 0.5193 GB, free: 34.76 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.314e-05/0.2701, allocations: 51.41 kB / 0.5194 GB, free: 34.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.635e-05/0.2702, allocations: 150.3 kB / 0.5195 GB, free: 34.58 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.023e-06/0.2702, allocations: 28.7 kB / 0.5195 GB, free: 34.55 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.834e-05/0.2703, allocations: 94.52 kB / 0.5196 GB, free: 34.46 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.389e-05/0.2703, allocations: 11.75 kB / 0.5196 GB, free: 34.45 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-06/0.2703, allocations: 6.875 kB / 0.5196 GB, free: 34.44 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.029e-05/0.2703, allocations: 318 kB / 0.5199 GB, free: 34.12 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.371e-05/0.2704, allocations: 29.25 kB / 0.52 GB, free: 34.12 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.289e-05/0.2705, allocations: 24.06 kB / 0.52 GB, free: 34.11 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/0.2706, allocations: 57.17 kB / 0.52 GB, free: 34.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.2706, allocations: 0 / 0.52 GB, free: 34.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001484/0.2707, allocations: 85.47 kB / 0.5201 GB, free: 34.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.046e-05/0.2708, allocations: 5.812 kB / 0.5201 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.2708, allocations: 3.984 kB / 0.5201 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.979e-06/0.2708, allocations: 0 / 0.5201 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.662e-05/0.2708, allocations: 19.2 kB / 0.5201 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.997e-06/0.2709, allocations: 0 / 0.5201 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.77e-05/0.2709, allocations: 8.766 kB / 0.5202 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.2709, allocations: 6.719 kB / 0.5202 GB, free: 34.03 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 (5): * Single equations (assignments): 5 * 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 4.791e-05/0.271, allocations: 112.7 kB / 0.5203 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.587e-05/0.271, allocations: 9.75 kB / 0.5203 GB, free: 33.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001899/0.2712, allocations: 104.2 kB / 0.5204 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.2712, allocations: 0 / 0.5204 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.2712, allocations: 0 / 0.5204 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.2712, allocations: 3.938 kB / 0.5204 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003018/0.2715, allocations: 366.3 kB / 0.5207 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2715, allocations: 0 / 0.5207 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.138e-05/0.2716, allocations: 18.97 kB / 0.5208 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.2716, allocations: 3.938 kB / 0.5208 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.321e-06/0.2716, allocations: 0 / 0.5208 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.2716, allocations: 3.938 kB / 0.5208 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.2716, allocations: 3.031 kB / 0.5208 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001641/0.2718, allocations: 182.5 kB / 0.5209 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.382e-05/0.2718, allocations: 87.73 kB / 0.521 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.2718, allocations: 0 / 0.521 GB, free: 33.26 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.483e-05/0.2719, allocations: 13.91 kB / 0.521 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.255e-05/0.2719, allocations: 10.12 kB / 0.521 GB, free: 33.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.272, allocations: 0 / 0.521 GB, free: 33.25 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.876e-05/0.272, allocations: 119.1 kB / 0.5212 GB, free: 33.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.272, allocations: 0 / 0.5212 GB, free: 33.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002103/0.2722, allocations: 11.91 kB / 0.5212 GB, free: 33.16 MB / 378.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 (5): * Single equations (assignments): 5 * 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.0009528/0.2732, allocations: 1.008 MB / 0.5222 GB, free: 32.37 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001613/0.2734, allocations: 56.62 kB / 0.5222 GB, free: 32.35 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.2734, allocations: 0 / 0.5222 GB, free: 32.35 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.445e-05/0.2735, allocations: 31.81 kB / 0.5222 GB, free: 32.34 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002717/0.2737, allocations: 17.97 kB / 0.5223 GB, free: 32.34 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000759/0.2745, allocations: 0.5965 MB / 0.5228 GB, free: 31.89 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001025/0.2746, allocations: 0.6985 MB / 0.5235 GB, free: 31.19 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.22e-05/0.2747, allocations: 24.58 kB / 0.5235 GB, free: 31.17 MB / 378.7 MB Notification: Performance of SimCode: time 2.8e-07/0.2747, allocations: 0 / 0.5235 GB, free: 31.17 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.779/3.053, allocations: 1.688 MB / 0.5252 GB, free: 31 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test1.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test1/Test1.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches