Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008277/0.0008278, allocations: 173.5 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.146/1.146, allocations: 205.4 MB / 222.9 MB, free: 9.031 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000678/0.0006778, allocations: 92.95 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002664/0.0002664, allocations: 8 kB / 327.6 MB, free: 15.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.1729, allocations: 47.57 MB / 375.2 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.01596/0.1889, allocations: 24.98 MB / 400.2 MB, free: 23.67 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002816/0.1917, allocations: 3.897 MB / 404.1 MB, free: 19.77 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002001/0.192, allocations: 4 kB / 404.1 MB, free: 19.76 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004577/0.1924, allocations: 159.1 kB / 404.2 MB, free: 19.61 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004345/0.1929, allocations: 314.3 kB / 404.5 MB, free: 19.3 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002814/0.1957, allocations: 1.157 MB / 405.7 MB, free: 18.14 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007387/0.1965, allocations: 1.113 MB / 406.8 MB, free: 17.02 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001425/0.1966, allocations: 68.2 kB / 406.9 MB, free: 16.96 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007422/0.204, allocations: 7.507 MB / 414.4 MB, free: 9.449 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002709/0.2043, allocations: 271 kB / 414.6 MB, free: 9.184 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.15e-05/0.2044, allocations: 12 kB / 414.6 MB, free: 9.172 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001122/0.2055, allocations: 0.6829 MB / 415.3 MB, free: 8.488 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.821e-05/0.2056, allocations: 71.78 kB / 415.4 MB, free: 8.418 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001525/0.2058, allocations: 197 kB / 415.6 MB, free: 8.219 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005523/0.2063, allocations: 0.6118 MB / 416.2 MB, free: 7.605 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.2063, allocations: 0 / 416.2 MB, free: 7.605 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2064, allocations: 0 / 416.2 MB, free: 7.605 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.2064, allocations: 0 / 416.2 MB, free: 7.605 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0006387/0.207, allocations: 0.5847 MB / 416.8 MB, free: 6.973 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.2071, allocations: 12.03 kB / 416.8 MB, free: 6.961 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.284e-05/0.2071, allocations: 58.73 kB / 416.9 MB, free: 6.895 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003613/0.2075, allocations: 52.62 kB / 416.9 MB, free: 6.844 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002443/0.2077, allocations: 295.7 kB / 417.2 MB, free: 6.516 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.2078, allocations: 20.94 kB / 417.2 MB, free: 6.496 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.24e-05/0.2078, allocations: 24.38 kB / 417.2 MB, free: 6.473 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003867/0.2082, allocations: 334.4 kB / 417.6 MB, free: 6.105 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.2082, allocations: 11.84 kB / 417.6 MB, free: 6.094 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.907e-05/0.2082, allocations: 16 kB / 417.6 MB, free: 6.078 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.2083, allocations: 8 kB / 417.6 MB, free: 6.07 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002721/0.2085, allocations: 210 kB / 417.8 MB, free: 5.867 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01024/0.2188, allocations: 5.912 MB / 423.7 MB, free: 15.45 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002687/0.2191, allocations: 178.6 kB / 423.9 MB, free: 15.27 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/0.2192, allocations: 88.83 kB / 424 MB, free: 15.18 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00956/0.2288, allocations: 3.869 MB / 427.8 MB, free: 11.01 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.93e-05/0.2288, allocations: 38.55 kB / 427.9 MB, free: 10.96 MB / 314.7 MB Notification: Performance of pre-optimization done (n=21): time 1.924e-06/0.2289, allocations: 0 / 427.9 MB, free: 10.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=26): time 0.005633/0.2345, allocations: 1.424 MB / 429.3 MB, free: 9.465 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/0.2345, allocations: 51.41 kB / 429.4 MB, free: 9.402 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000243/0.2348, allocations: 258.6 kB / 429.6 MB, free: 9.141 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.2348, allocations: 33.64 kB / 429.6 MB, free: 9.102 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.842e-05/0.2349, allocations: 192 kB / 429.8 MB, free: 8.91 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.63e-05/0.235, allocations: 94.66 kB / 429.9 MB, free: 8.816 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.423e-05/0.235, allocations: 4 kB / 429.9 MB, free: 8.812 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.431e-05/0.2351, allocations: 338.8 kB / 430.3 MB, free: 8.473 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00014/0.2353, allocations: 91.95 kB / 430.3 MB, free: 8.383 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001878/0.2354, allocations: 190.6 kB / 430.5 MB, free: 8.156 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003517/0.2358, allocations: 299.5 kB / 430.8 MB, free: 7.824 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.2358, allocations: 0 / 430.8 MB, free: 7.824 MB / 314.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006125/0.2364, allocations: 398.7 kB / 431.2 MB, free: 7.422 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.2365, allocations: 4 kB / 431.2 MB, free: 7.418 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.2365, allocations: 4 kB / 431.2 MB, free: 7.414 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003085/0.2396, allocations: 405.7 kB / 431.6 MB, free: 7.012 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002461/0.2398, allocations: 71.84 kB / 431.7 MB, free: 6.941 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001251/0.2411, allocations: 1.871 MB / 433.6 MB, free: 4.914 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002159/0.2413, allocations: 28.14 kB / 433.6 MB, free: 4.887 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.244e-05/0.2413, allocations: 12 kB / 433.6 MB, free: 4.875 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001589/0.2415, allocations: 154 kB / 433.7 MB, free: 4.715 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.343e-05/0.2416, allocations: 35.56 kB / 433.8 MB, free: 4.68 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006491/0.2422, allocations: 494.5 kB / 434.3 MB, free: 4.184 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.2422, allocations: 7.984 kB / 434.3 MB, free: 4.176 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.512e-06/0.2423, allocations: 0 / 434.3 MB, free: 4.176 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005667/0.2428, allocations: 0.716 MB / 435 MB, free: 3.371 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/0.244, allocations: 0.9645 MB / 436 MB, free: 2.34 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.244, allocations: 0 / 436 MB, free: 2.34 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001742/0.2442, allocations: 43.98 kB / 436 MB, free: 2.297 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001661/0.2458, allocations: 332.2 kB / 436.3 MB, free: 1.969 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.307e-05/0.2459, allocations: 7.984 kB / 436.3 MB, free: 1.961 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004073/0.2463, allocations: 0.6422 MB / 437 MB, free: 1.293 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2463, allocations: 32 / 437 MB, free: 1.293 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008142/0.2471, allocations: 0.7165 MB / 437.7 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.516e-05/0.2472, allocations: 112.8 kB / 437.8 MB, free: 432 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.866e-05/0.2473, allocations: 4 kB / 437.8 MB, free: 428 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002275/0.2475, allocations: 15.94 kB / 437.8 MB, free: 412 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.048e-05/0.2475, allocations: 19.97 kB / 437.8 MB, free: 392 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.197e-05/0.2476, allocations: 11.98 kB / 437.8 MB, free: 380 kB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001518/0.2477, allocations: 182 kB / 438 MB, free: 200 kB / 314.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2477, allocations: 0 / 438 MB, free: 200 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008334/0.2486, allocations: 191.9 kB / 438.2 MB, free: 8 kB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.001497/0.2501, allocations: 1.422 MB / 439.6 MB, free: 14.55 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006738/0.2508, allocations: 454.3 kB / 440.1 MB, free: 14.09 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2508, allocations: 0 / 440.1 MB, free: 14.09 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004502/0.2512, allocations: 228.6 kB / 440.3 MB, free: 13.87 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009253/0.2522, allocations: 170.6 kB / 440.5 MB, free: 13.71 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002641/0.2548, allocations: 2.098 MB / 442.6 MB, free: 11.52 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002711/0.2551, allocations: 0.776 MB / 443.3 MB, free: 10.71 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001415/0.2553, allocations: 103.4 kB / 443.4 MB, free: 10.61 MB / 330.7 MB Notification: Performance of SimCode: time 2.4e-07/0.2553, allocations: 0 / 443.4 MB, free: 10.61 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.417/3.673, allocations: 8.939 MB / 452.4 MB, free: 1.652 MB / 330.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Examples_ReferenceAir_DryAir1_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Media_Examples_ReferenceAir_DryAir1.fmu > Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches