Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test7.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.Test7,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test7,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00102/0.00102, allocations: 192.4 kB / 16.09 MB, free: 5.566 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.248/1.248, allocations: 226.5 MB / 243.4 MB, free: 8.219 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000753/0.0007534, allocations: 94.2 kB / 295.5 MB, free: 6.891 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3138/0.3138, allocations: 44.82 MB / 392.3 MB, free: 35.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002675/0.0002676, allocations: 8 kB / 465.4 MB, free: 12.58 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3117, allocations: 62.96 MB / 0.516 GB, free: 37.03 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.001417/0.3131, allocations: 1.293 MB / 0.5172 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006285/0.3138, allocations: 0.4935 MB / 0.5177 GB, free: 35.76 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.157e-05/0.3138, allocations: 0 / 0.5177 GB, free: 35.76 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002034/0.3141, allocations: 23.66 kB / 0.5177 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001738/0.3142, allocations: 61.59 kB / 0.5178 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000225/0.3145, allocations: 97.62 kB / 0.5179 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.3146, allocations: 60.38 kB / 0.5179 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.728e-05/0.3147, allocations: 18.48 kB / 0.518 GB, free: 35.63 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.919e-05/0.3147, allocations: 17.67 kB / 0.518 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.171e-05/0.3148, allocations: 24.11 kB / 0.518 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.15e-05/0.3148, allocations: 0 / 0.518 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.036e-05/0.3149, allocations: 25.19 kB / 0.518 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.842e-05/0.3149, allocations: 20.95 kB / 0.518 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.58e-05/0.315, allocations: 44.42 kB / 0.5181 GB, free: 35.55 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001268/0.3151, allocations: 59.22 kB / 0.5181 GB, free: 35.53 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3151, allocations: 0 / 0.5181 GB, free: 35.53 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3151, allocations: 0 / 0.5181 GB, free: 35.53 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.457e-06/0.3151, allocations: 4 kB / 0.5181 GB, free: 35.53 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.0003301/0.3155, allocations: 372.5 kB / 0.5185 GB, free: 35.15 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.3155, allocations: 8.844 kB / 0.5185 GB, free: 35.15 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.523e-05/0.3155, allocations: 34.75 kB / 0.5185 GB, free: 35.11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.304e-05/0.3156, allocations: 8.281 kB / 0.5185 GB, free: 35.1 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.3157, allocations: 198.9 kB / 0.5187 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.177e-06/0.3157, allocations: 384 / 0.5187 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.764e-05/0.3157, allocations: 7.156 kB / 0.5187 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.3159, allocations: 59.61 kB / 0.5188 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.3159, allocations: 0 / 0.5188 GB, free: 34.84 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.3159, allocations: 4 kB / 0.5188 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.3159, allocations: 2.875 kB / 0.5188 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.224e-05/0.316, allocations: 27.91 kB / 0.5188 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002856/0.3163, allocations: 280.3 kB / 0.5191 GB, free: 34.54 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001697/0.3165, allocations: 48.83 kB / 0.5191 GB, free: 34.51 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.762e-05/0.3165, allocations: 20.61 kB / 0.5192 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.3165, allocations: 3.469 kB / 0.5192 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.146e-05/0.3166, allocations: 42.5 kB / 0.5192 GB, free: 34.45 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.3166, allocations: 0 / 0.5192 GB, free: 34.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004947/0.3171, allocations: 171.7 kB / 0.5194 GB, free: 34.38 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.913e-05/0.3171, allocations: 51.41 kB / 0.5194 GB, free: 34.31 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001091/0.3172, allocations: 172.2 kB / 0.5196 GB, free: 34.19 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.396e-06/0.3172, allocations: 32.84 kB / 0.5196 GB, free: 34.16 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.09e-05/0.3173, allocations: 95.08 kB / 0.5197 GB, free: 34.06 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.46e-05/0.3173, allocations: 13.66 kB / 0.5197 GB, free: 34.05 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-06/0.3173, allocations: 4 kB / 0.5197 GB, free: 34.05 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.746e-05/0.3173, allocations: 317.1 kB / 0.52 GB, free: 33.74 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.85e-05/0.3174, allocations: 26.94 kB / 0.5201 GB, free: 33.73 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.943e-05/0.3175, allocations: 27.33 kB / 0.5201 GB, free: 33.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.3176, allocations: 63.88 kB / 0.5201 GB, free: 33.7 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.51e-07/0.3176, allocations: 0 / 0.5201 GB, free: 33.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000165/0.3178, allocations: 91.58 kB / 0.5202 GB, free: 33.65 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.3178, allocations: 7.5 kB / 0.5202 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.3178, allocations: 0 / 0.5202 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.3178, allocations: 0 / 0.5202 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.786e-05/0.3179, allocations: 18.97 kB / 0.5203 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.3179, allocations: 3.938 kB / 0.5203 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.954e-05/0.318, allocations: 9.5 kB / 0.5203 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.318, allocations: 0 / 0.5203 GB, free: 33.64 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 7.551e-05/0.318, allocations: 123.5 kB / 0.5204 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.687e-05/0.3181, allocations: 9.656 kB / 0.5204 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002039/0.3183, allocations: 107.4 kB / 0.5205 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.3183, allocations: 2.969 kB / 0.5205 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3183, allocations: 7.875 kB / 0.5205 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.3183, allocations: 0 / 0.5205 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003156/0.3186, allocations: 360.6 kB / 0.5209 GB, free: 33.13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3186, allocations: 2.969 kB / 0.5209 GB, free: 33.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.099e-05/0.3187, allocations: 14.58 kB / 0.5209 GB, free: 33.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.245e-06/0.3187, allocations: 3.938 kB / 0.5209 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.3187, allocations: 4 kB / 0.5209 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.3187, allocations: 0 / 0.5209 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.3187, allocations: 2.969 kB / 0.5209 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001756/0.3189, allocations: 193.7 kB / 0.5211 GB, free: 32.97 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.425e-05/0.3189, allocations: 87.86 kB / 0.5211 GB, free: 32.87 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.639e-05/0.319, allocations: 3.938 kB / 0.5212 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.543e-05/0.319, allocations: 13.2 kB / 0.5212 GB, free: 32.86 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.387e-05/0.3191, allocations: 10.97 kB / 0.5212 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.848e-06/0.3191, allocations: 0 / 0.5212 GB, free: 32.85 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.258e-05/0.3192, allocations: 127.5 kB / 0.5213 GB, free: 32.77 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3192, allocations: 3.938 kB / 0.5213 GB, free: 32.76 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002134/0.3194, allocations: 11.97 kB / 0.5213 GB, free: 32.76 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.0009816/0.3204, allocations: 1.023 MB / 0.5223 GB, free: 31.96 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001739/0.3206, allocations: 67.55 kB / 0.5224 GB, free: 31.94 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3206, allocations: 0 / 0.5224 GB, free: 31.94 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.018e-05/0.3206, allocations: 27.36 kB / 0.5224 GB, free: 31.94 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000278/0.3209, allocations: 16.78 kB / 0.5224 GB, free: 31.93 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008032/0.3217, allocations: 0.6415 MB / 0.523 GB, free: 31.47 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001078/0.3219, allocations: 0.6903 MB / 0.5237 GB, free: 30.78 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.515e-05/0.3219, allocations: 28.95 kB / 0.5237 GB, free: 30.76 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3219, allocations: 0 / 0.5237 GB, free: 30.76 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.723/3.045, allocations: 1.77 MB / 0.5255 GB, free: 30.58 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test7_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test7.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches