Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test6,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test6,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009229/0.0009229, allocations: 197.4 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.234/1.234, allocations: 226.5 MB / 243.4 MB, free: 6.469 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000759/0.0007593, allocations: 96.44 kB / 295.5 MB, free: 6.664 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3166/0.3166, allocations: 44.83 MB / 392.3 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003032/0.0003033, allocations: 8 kB / 465.4 MB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3215, allocations: 62.96 MB / 0.516 GB, free: 37.2 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.00189/0.3235, allocations: 1.337 MB / 0.5173 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007525/0.3243, allocations: 0.5151 MB / 0.5178 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.127e-05/0.3243, allocations: 0 / 0.5178 GB, free: 35.88 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002648/0.3246, allocations: 86.59 kB / 0.5179 GB, free: 35.87 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001929/0.3248, allocations: 96.17 kB / 0.5179 GB, free: 35.83 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002506/0.3251, allocations: 104.9 kB / 0.518 GB, free: 35.78 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001294/0.3252, allocations: 80.08 kB / 0.5181 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.3253, allocations: 30.62 kB / 0.5181 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.192e-05/0.3254, allocations: 39.88 kB / 0.5182 GB, free: 35.72 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.617e-05/0.3255, allocations: 48.55 kB / 0.5182 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.374e-05/0.3255, allocations: 2.812 kB / 0.5182 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.662e-05/0.3256, allocations: 37.16 kB / 0.5183 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.328e-05/0.3256, allocations: 26.44 kB / 0.5183 GB, free: 35.69 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.761e-05/0.3257, allocations: 62.56 kB / 0.5184 GB, free: 35.63 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001313/0.3258, allocations: 94.89 kB / 0.5184 GB, free: 35.6 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.3258, allocations: 4 kB / 0.5184 GB, free: 35.6 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.3258, allocations: 0 / 0.5184 GB, free: 35.6 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.96e-06/0.3259, allocations: 0 / 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0004692/0.3263, allocations: 412 kB / 0.5188 GB, free: 35.19 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.3264, allocations: 11.44 kB / 0.5189 GB, free: 35.19 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.014e-05/0.3264, allocations: 34.75 kB / 0.5189 GB, free: 35.15 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.243e-05/0.3265, allocations: 24.09 kB / 0.5189 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/0.3267, allocations: 200.5 kB / 0.5191 GB, free: 34.92 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.408e-06/0.3267, allocations: 3.5 kB / 0.5191 GB, free: 34.92 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.039e-05/0.3267, allocations: 19.22 kB / 0.5191 GB, free: 34.91 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001452/0.3268, allocations: 80.61 kB / 0.5192 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.3269, allocations: 0 / 0.5192 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-06/0.3269, allocations: 0 / 0.5192 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.3269, allocations: 3 kB / 0.5192 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001081/0.327, allocations: 51.73 kB / 0.5193 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003966/0.3274, allocations: 350.8 kB / 0.5196 GB, free: 34.53 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001236/0.3275, allocations: 80.81 kB / 0.5197 GB, free: 34.48 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.28e-05/0.3276, allocations: 23.8 kB / 0.5197 GB, free: 34.47 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.3276, allocations: 7.031 kB / 0.5197 GB, free: 34.46 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.644e-05/0.3277, allocations: 30.56 kB / 0.5197 GB, free: 34.43 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.3277, allocations: 0 / 0.5197 GB, free: 34.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009784/0.3286, allocations: 363.2 kB / 0.5201 GB, free: 34.29 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.127e-05/0.3287, allocations: 51.41 kB / 0.5201 GB, free: 34.23 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000169/0.3288, allocations: 236.9 kB / 0.5203 GB, free: 34.09 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.166e-05/0.3289, allocations: 36.58 kB / 0.5204 GB, free: 34.05 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.032e-05/0.3289, allocations: 109.5 kB / 0.5205 GB, free: 33.95 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.877e-05/0.3289, allocations: 44.67 kB / 0.5205 GB, free: 33.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.733e-06/0.329, allocations: 0 / 0.5205 GB, free: 33.91 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.331e-05/0.329, allocations: 335.1 kB / 0.5208 GB, free: 33.59 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.135e-05/0.3291, allocations: 48.72 kB / 0.5209 GB, free: 33.57 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.299e-05/0.3292, allocations: 51.56 kB / 0.5209 GB, free: 33.56 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001809/0.3294, allocations: 114.5 kB / 0.521 GB, free: 33.52 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.22e-07/0.3294, allocations: 0 / 0.521 GB, free: 33.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002585/0.3297, allocations: 163.8 kB / 0.5212 GB, free: 33.45 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.3297, allocations: 5.531 kB / 0.5212 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.3297, allocations: 3.938 kB / 0.5212 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.3297, allocations: 0 / 0.5212 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.3298, allocations: 34.64 kB / 0.5212 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/0.3298, allocations: 0 / 0.5212 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.31e-05/0.3299, allocations: 9.266 kB / 0.5213 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-06/0.3299, allocations: 6.812 kB / 0.5213 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 (13): * Single equations (assignments): 13 * 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.485e-05/0.33, allocations: 131.6 kB / 0.5214 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.057e-05/0.33, allocations: 13.56 kB / 0.5214 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000315/0.3303, allocations: 208.5 kB / 0.5216 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.3304, allocations: 0 / 0.5216 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3304, allocations: 2.844 kB / 0.5216 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.3304, allocations: 0 / 0.5216 GB, free: 33.21 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005067/0.3309, allocations: 0.5081 MB / 0.5221 GB, free: 32.81 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.3309, allocations: 0 / 0.5221 GB, free: 32.81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.379e-05/0.331, allocations: 24.12 kB / 0.5221 GB, free: 32.81 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.331, allocations: 6.438 kB / 0.5221 GB, free: 32.81 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.331, allocations: 10.62 kB / 0.5221 GB, free: 32.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.331, allocations: 11.45 kB / 0.5221 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.331, allocations: 0 / 0.5221 GB, free: 32.79 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002617/0.3313, allocations: 262.2 kB / 0.5224 GB, free: 32.61 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.606e-05/0.3313, allocations: 94.48 kB / 0.5225 GB, free: 32.51 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.3314, allocations: 0 / 0.5225 GB, free: 32.51 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.38e-05/0.3315, allocations: 12.78 kB / 0.5225 GB, free: 32.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.175e-05/0.3315, allocations: 9.375 kB / 0.5225 GB, free: 32.5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.895e-06/0.3315, allocations: 3 kB / 0.5225 GB, free: 32.5 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001192/0.3316, allocations: 179.9 kB / 0.5227 GB, free: 32.4 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3317, allocations: 0 / 0.5227 GB, free: 32.4 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002427/0.3319, allocations: 31.91 kB / 0.5227 GB, free: 32.39 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 (13): * Single equations (assignments): 13 * 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.001358/0.3333, allocations: 1.142 MB / 0.5238 GB, free: 31.54 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002686/0.3335, allocations: 123.2 kB / 0.5239 GB, free: 31.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3336, allocations: 0 / 0.5239 GB, free: 31.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001163/0.3337, allocations: 71.08 kB / 0.524 GB, free: 31.48 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003618/0.3341, allocations: 15.36 kB / 0.524 GB, free: 31.48 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001362/0.3354, allocations: 1.003 MB / 0.525 GB, free: 30.88 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001701/0.3356, allocations: 0.7276 MB / 0.5257 GB, free: 30.18 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.568e-05/0.3357, allocations: 52.5 kB / 0.5258 GB, free: 30.14 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3357, allocations: 4 kB / 0.5258 GB, free: 30.14 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.826/3.161, allocations: 2.623 MB / 0.5283 GB, free: 29.84 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test6_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test6.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches