Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test7,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_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.00144/0.00144, allocations: 195.7 kB / 16.1 MB, free: 5.699 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.242/1.242, allocations: 226.5 MB / 243.4 MB, free: 6.391 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007526/0.0007525, allocations: 95.25 kB / 295.5 MB, free: 6.66 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2861/0.2861, allocations: 44.82 MB / 392.3 MB, free: 35.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002677/0.0002679, allocations: 8 kB / 465.4 MB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3166, allocations: 62.96 MB / 0.516 GB, free: 37.41 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.001605/0.3182, allocations: 1.306 MB / 0.5172 GB, free: 36.46 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007139/0.319, allocations: 0.5196 MB / 0.5177 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.051e-05/0.319, allocations: 0 / 0.5177 GB, free: 36.11 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005227/0.3195, allocations: 437.7 kB / 0.5182 GB, free: 36.09 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003291/0.3199, allocations: 274.3 kB / 0.5184 GB, free: 36.05 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003674/0.3203, allocations: 151.4 kB / 0.5186 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001656/0.3204, allocations: 135.7 kB / 0.5187 GB, free: 35.96 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.615e-05/0.3205, allocations: 14.08 kB / 0.5187 GB, free: 35.95 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.412e-05/0.3206, allocations: 107.3 kB / 0.5188 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001677/0.3208, allocations: 168.2 kB / 0.519 GB, free: 35.92 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.848e-05/0.3208, allocations: 0 / 0.519 GB, free: 35.92 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.104e-05/0.3209, allocations: 18.22 kB / 0.519 GB, free: 35.91 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.145e-05/0.321, allocations: 83.02 kB / 0.5191 GB, free: 35.89 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.632e-05/0.3211, allocations: 115.4 kB / 0.5192 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001686/0.3212, allocations: 181.1 kB / 0.5194 GB, free: 35.74 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.3213, allocations: 4 kB / 0.5194 GB, free: 35.73 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3213, allocations: 0 / 0.5194 GB, free: 35.73 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.3213, allocations: 0 / 0.5194 GB, free: 35.73 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.0005595/0.3218, allocations: 0.5916 MB / 0.5199 GB, free: 35.21 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.3219, allocations: 11.78 kB / 0.52 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.933e-05/0.3219, allocations: 40.8 kB / 0.52 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.519e-05/0.322, allocations: 42.81 kB / 0.52 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002171/0.3222, allocations: 302.1 kB / 0.5203 GB, free: 34.86 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.918e-06/0.3222, allocations: 4.375 kB / 0.5203 GB, free: 34.85 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.3222, allocations: 3.25 kB / 0.5203 GB, free: 34.85 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.3224, allocations: 52.55 kB / 0.5204 GB, free: 34.81 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.3224, allocations: 0 / 0.5204 GB, free: 34.81 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.395e-06/0.3224, allocations: 0 / 0.5204 GB, free: 34.81 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.3224, allocations: 2.906 kB / 0.5204 GB, free: 34.81 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.28e-05/0.3225, allocations: 32.06 kB / 0.5204 GB, free: 34.8 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003963/0.3229, allocations: 392.9 kB / 0.5208 GB, free: 34.48 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.69e-05/0.323, allocations: 38.58 kB / 0.5208 GB, free: 34.45 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.552e-05/0.323, allocations: 19.56 kB / 0.5208 GB, free: 34.44 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.3231, allocations: 0 / 0.5208 GB, free: 34.44 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.727e-05/0.3231, allocations: 37.03 kB / 0.5209 GB, free: 34.39 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 8.41e-07/0.3231, allocations: 0 / 0.5209 GB, free: 34.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002396/0.3233, allocations: 111.4 kB / 0.521 GB, free: 34.33 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.494e-05/0.3234, allocations: 51.41 kB / 0.521 GB, free: 34.27 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006221/0.324, allocations: 0.874 MB / 0.5219 GB, free: 33.95 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.687e-06/0.324, allocations: 32.58 kB / 0.5219 GB, free: 33.91 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.3241, allocations: 227.4 kB / 0.5221 GB, free: 33.73 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.2e-05/0.3242, allocations: 3.906 kB / 0.5221 GB, free: 33.73 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.916e-06/0.3242, allocations: 3.938 kB / 0.5221 GB, free: 33.72 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.213e-05/0.3242, allocations: 365.6 kB / 0.5225 GB, free: 33.39 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.141e-05/0.3243, allocations: 11.3 kB / 0.5225 GB, free: 33.39 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.448e-05/0.3243, allocations: 15.17 kB / 0.5225 GB, free: 33.38 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.417e-05/0.3244, allocations: 36.31 kB / 0.5225 GB, free: 33.36 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.3244, allocations: 0 / 0.5225 GB, free: 33.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001252/0.3246, allocations: 95.11 kB / 0.5226 GB, free: 33.31 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.3246, allocations: 5.344 kB / 0.5226 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.3246, allocations: 4.094 kB / 0.5226 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.3246, allocations: 0 / 0.5226 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.26e-05/0.3247, allocations: 5.594 kB / 0.5227 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.219e-06/0.3247, allocations: 0 / 0.5227 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.047e-05/0.3247, allocations: 10.34 kB / 0.5227 GB, free: 33.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.763e-06/0.3248, allocations: 6.406 kB / 0.5227 GB, free: 33.3 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 (2): * Single equations (assignments): 2 * 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 0.0001365/0.3249, allocations: 213.5 kB / 0.5229 GB, free: 33.16 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.209e-05/0.3249, allocations: 36.62 kB / 0.5229 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001759/0.3251, allocations: 122.7 kB / 0.523 GB, free: 33.08 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.3251, allocations: 0 / 0.523 GB, free: 33.08 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.3251, allocations: 0 / 0.523 GB, free: 33.08 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.3251, allocations: 0 / 0.523 GB, free: 33.08 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001979/0.3253, allocations: 296 kB / 0.5233 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.3254, allocations: 0 / 0.5233 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.83e-05/0.3254, allocations: 3.094 kB / 0.5233 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3255, allocations: 2.875 kB / 0.5233 GB, free: 32.85 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.3255, allocations: 7.406 kB / 0.5233 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.3255, allocations: 4 kB / 0.5233 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3255, allocations: 0 / 0.5233 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001518/0.3256, allocations: 200.5 kB / 0.5235 GB, free: 32.67 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.122e-05/0.3257, allocations: 109.4 kB / 0.5236 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.404e-05/0.3257, allocations: 6.375 kB / 0.5236 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.212e-05/0.3258, allocations: 7.031 kB / 0.5236 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.155e-05/0.3258, allocations: 0 / 0.5236 GB, free: 32.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-06/0.3259, allocations: 0 / 0.5236 GB, free: 32.55 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000469/0.3263, allocations: 0.6658 MB / 0.5243 GB, free: 32.3 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3263, allocations: 0 / 0.5243 GB, free: 32.3 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002289/0.3266, allocations: 21.83 kB / 0.5243 GB, free: 32.3 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 (2): * Single equations (assignments): 2 * 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.0008846/0.3275, allocations: 0.9706 MB / 0.5252 GB, free: 31.51 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001268/0.3276, allocations: 30.89 kB / 0.5253 GB, free: 31.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3276, allocations: 0 / 0.5253 GB, free: 31.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.192e-05/0.3277, allocations: 14.67 kB / 0.5253 GB, free: 31.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003423/0.328, allocations: 25.38 kB / 0.5253 GB, free: 31.48 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002335/0.3303, allocations: 2.324 MB / 0.5276 GB, free: 30.46 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00023/0.3306, allocations: 0.8245 MB / 0.5284 GB, free: 29.74 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.858e-05/0.3307, allocations: 114.7 kB / 0.5285 GB, free: 29.64 MB / 378.7 MB Notification: Performance of SimCode: time 4e-07/0.3307, allocations: 0 / 0.5285 GB, free: 29.64 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.815/3.146, allocations: 6.392 MB / 0.5347 GB, free: 28.23 MB / 378.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test7_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test7.fmu > ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches