Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir.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.MoistAir,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_ReferenceAir_MoistAir",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.0008433/0.0008435, allocations: 175.6 kB / 16.72 MB, free: 5.051 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.155/1.155, allocations: 205.4 MB / 222.9 MB, free: 9.012 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.0007225/0.0007225, allocations: 89.41 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000273/0.000273, allocations: 12 kB / 327.6 MB, free: 15.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1734/0.1737, allocations: 47.58 MB / 375.2 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.01993/0.1937, allocations: 24.68 MB / 399.9 MB, free: 23.96 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001695/0.1954, allocations: 2.074 MB / 401.9 MB, free: 21.88 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.7e-05/0.1955, allocations: 4 kB / 401.9 MB, free: 21.88 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002401/0.1957, allocations: 51.72 kB / 402 MB, free: 21.83 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002663/0.196, allocations: 143.2 kB / 402.1 MB, free: 21.69 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009424/0.2054, allocations: 4.823 MB / 407 MB, free: 16.86 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002969/0.2057, allocations: 394.5 kB / 407.3 MB, free: 16.48 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.762e-05/0.2058, allocations: 12.91 kB / 407.4 MB, free: 16.46 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001736/0.206, allocations: 115.6 kB / 407.5 MB, free: 16.35 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001741/0.2061, allocations: 123.6 kB / 407.6 MB, free: 16.23 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.545e-05/0.2062, allocations: 8 kB / 407.6 MB, free: 16.22 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01093/0.2171, allocations: 9.181 MB / 416.8 MB, free: 7.031 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.238e-05/0.2172, allocations: 67.83 kB / 416.8 MB, free: 6.965 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.639e-05/0.2173, allocations: 109.4 kB / 417 MB, free: 6.852 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003758/0.2211, allocations: 3.158 MB / 420.1 MB, free: 3.688 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.2211, allocations: 0 / 420.1 MB, free: 3.688 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2211, allocations: 0 / 420.1 MB, free: 3.688 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.2211, allocations: 0 / 420.1 MB, free: 3.688 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.00252/0.2236, allocations: 1.065 MB / 421.2 MB, free: 2.57 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.2237, allocations: 8.031 kB / 421.2 MB, free: 2.562 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.987e-05/0.2237, allocations: 50.73 kB / 421.2 MB, free: 2.504 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001111/0.2238, allocations: 24.31 kB / 421.3 MB, free: 2.48 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001675/0.224, allocations: 218.8 kB / 421.5 MB, free: 2.227 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.224, allocations: 8.328 kB / 421.5 MB, free: 2.219 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.422e-05/0.2241, allocations: 23.91 kB / 421.5 MB, free: 2.195 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005714/0.2247, allocations: 281.4 kB / 421.8 MB, free: 1.91 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.392e-05/0.2247, allocations: 3.984 kB / 421.8 MB, free: 1.906 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.625e-05/0.2247, allocations: 12 kB / 421.8 MB, free: 1.895 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.871e-05/0.2247, allocations: 8 kB / 421.8 MB, free: 1.887 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006334/0.2254, allocations: 312.3 kB / 422.1 MB, free: 1.582 MB / 298.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001105/0.2265, allocations: 0.8301 MB / 422.9 MB, free: 0.6758 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005718/0.2271, allocations: 249.1 kB / 423.2 MB, free: 424 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002467/0.2273, allocations: 133.6 kB / 423.3 MB, free: 284 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01395/0.2413, allocations: 12.92 MB / 436.2 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.2413, allocations: 38.56 kB / 436.3 MB, free: 0.8047 MB / 314.7 MB Notification: Performance of pre-optimization done (n=29): time 1.743e-06/0.2413, allocations: 0 / 436.3 MB, free: 0.8047 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.002524/0.2439, allocations: 0.6926 MB / 437 MB, free: 108 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/0.2439, allocations: 81.11 kB / 437 MB, free: 8 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.244, allocations: 125.8 kB / 437.2 MB, free: 15.88 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.141e-05/0.2441, allocations: 33.69 kB / 437.2 MB, free: 15.84 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.328e-05/0.2441, allocations: 100.9 kB / 437.3 MB, free: 15.73 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.756e-05/0.2442, allocations: 130.1 kB / 437.4 MB, free: 15.6 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.314e-05/0.2443, allocations: 8 kB / 437.4 MB, free: 15.59 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.772e-05/0.2444, allocations: 326.8 kB / 437.7 MB, free: 15.27 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003446/0.2447, allocations: 143.8 kB / 437.9 MB, free: 15.12 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00043/0.2452, allocations: 207.5 kB / 438.1 MB, free: 14.89 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008258/0.246, allocations: 363 kB / 438.4 MB, free: 14.52 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.246, allocations: 4 kB / 438.4 MB, free: 14.51 MB / 330.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001034/0.247, allocations: 413.1 kB / 438.8 MB, free: 14.1 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.2471, allocations: 8 kB / 438.9 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.2471, allocations: 224 / 438.9 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.2471, allocations: 8 kB / 438.9 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004345/0.2475, allocations: 87.81 kB / 439 MB, free: 14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.2476, allocations: 7.984 kB / 439 MB, free: 13.99 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003046/0.2479, allocations: 39.91 kB / 439 MB, free: 13.95 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.552e-05/0.2479, allocations: 12 kB / 439 MB, free: 13.94 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (43): * Single equations (assignments): 43 * 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.0001271/0.248, allocations: 145.8 kB / 439.2 MB, free: 13.79 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.2482, allocations: 15.81 kB / 439.2 MB, free: 13.77 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004375/0.2486, allocations: 198.2 kB / 439.4 MB, free: 13.57 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.2486, allocations: 7.938 kB / 439.4 MB, free: 13.56 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.2486, allocations: 0 / 439.4 MB, free: 13.56 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.2486, allocations: 0 / 439.4 MB, free: 13.56 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00153/0.2502, allocations: 0.7635 MB / 440.1 MB, free: 12.73 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.2502, allocations: 3.984 kB / 440.1 MB, free: 12.72 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003983/0.2506, allocations: 76.05 kB / 440.2 MB, free: 12.65 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.2506, allocations: 4 kB / 440.2 MB, free: 12.64 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.765e-05/0.2506, allocations: 11.98 kB / 440.2 MB, free: 12.63 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.937e-06/0.2507, allocations: 4 kB / 440.2 MB, free: 12.63 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.2507, allocations: 4 kB / 440.2 MB, free: 12.62 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001358/0.252, allocations: 0.7064 MB / 440.9 MB, free: 11.89 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.2521, allocations: 124.8 kB / 441.1 MB, free: 11.75 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.015e-05/0.2522, allocations: 15.98 kB / 441.1 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003266/0.2525, allocations: 19.97 kB / 441.1 MB, free: 11.71 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.958e-05/0.2526, allocations: 31.97 kB / 441.1 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.34e-05/0.2526, allocations: 15.94 kB / 441.1 MB, free: 11.67 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.037e-05/0.2527, allocations: 103.7 kB / 441.2 MB, free: 11.57 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2527, allocations: 0 / 441.2 MB, free: 11.57 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002234/0.2549, allocations: 0.9214 MB / 442.2 MB, free: 10.64 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,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 (37): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004736/0.2597, allocations: 2.404 MB / 444.6 MB, free: 8.203 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008391/0.2605, allocations: 340 kB / 444.9 MB, free: 7.871 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.2605, allocations: 4 kB / 444.9 MB, free: 7.867 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004068/0.261, allocations: 171.8 kB / 445.1 MB, free: 7.699 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006929/0.2617, allocations: 98.66 kB / 445.2 MB, free: 7.605 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003414/0.2651, allocations: 1.889 MB / 447.1 MB, free: 5.621 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000271/0.2654, allocations: 0.7336 MB / 447.8 MB, free: 4.863 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002057/0.2656, allocations: 71.41 kB / 447.9 MB, free: 4.793 MB / 330.7 MB Notification: Performance of SimCode: time 2.51e-07/0.2656, allocations: 0 / 447.9 MB, free: 4.793 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.656/4.921, allocations: 20.83 MB / 468.7 MB, free: 15.93 MB / 362.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Examples_ReferenceAir_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 Modelica_3_2_3_cpp_Modelica_Media_Examples_ReferenceAir_MoistAir.fmu > Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches