Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.MoistAir1,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_ReferenceAir_MoistAir1",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.0008204/0.0008204, allocations: 171.4 kB / 16.72 MB, free: 5.055 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.136/1.136, allocations: 205.4 MB / 222.9 MB, free: 9.004 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.0006901/0.0006901, allocations: 92.33 kB / 271.2 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003063/0.0003063, allocations: 8 kB / 327.6 MB, free: 15.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1758/0.1761, allocations: 47.57 MB / 375.2 MB, free: 45.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.0321/0.2083, allocations: 46.9 MB / 422.1 MB, free: 1.691 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004363/0.2127, allocations: 4.853 MB / 426.9 MB, free: 12.83 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001661/0.2128, allocations: 4 kB / 426.9 MB, free: 12.82 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005332/0.2134, allocations: 202.8 kB / 427.1 MB, free: 12.62 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004717/0.2139, allocations: 346.2 kB / 427.5 MB, free: 12.29 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01237/0.2263, allocations: 5.326 MB / 432.8 MB, free: 6.957 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001163/0.2274, allocations: 1.333 MB / 434.1 MB, free: 5.621 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001825/0.2276, allocations: 113.6 kB / 434.3 MB, free: 5.508 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007758/0.2354, allocations: 6.171 MB / 440.4 MB, free: 15.33 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000419/0.2358, allocations: 398.6 kB / 440.8 MB, free: 14.94 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.101e-05/0.2359, allocations: 28 kB / 440.8 MB, free: 14.91 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01396/0.2499, allocations: 9.634 MB / 450.5 MB, free: 5.262 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002534/0.2501, allocations: 191.5 kB / 450.7 MB, free: 5.074 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003461/0.2505, allocations: 288.7 kB / 450.9 MB, free: 4.785 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005555/0.2561, allocations: 3.746 MB / 454.7 MB, free: 1.031 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2561, allocations: 0 / 454.7 MB, free: 1.031 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2561, allocations: 4 kB / 454.7 MB, free: 1.027 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.2561, allocations: 0 / 454.7 MB, free: 1.027 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.002521/0.2586, allocations: 1.236 MB / 455.9 MB, free: 15.74 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.2587, allocations: 12.03 kB / 455.9 MB, free: 15.73 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001011/0.2588, allocations: 90.52 kB / 456 MB, free: 15.63 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002613/0.2591, allocations: 55.44 kB / 456.1 MB, free: 15.58 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004284/0.2595, allocations: 365.9 kB / 456.4 MB, free: 15.18 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.316e-05/0.2595, allocations: 33 kB / 456.5 MB, free: 15.15 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.424e-05/0.2596, allocations: 40 kB / 456.5 MB, free: 15.11 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001142/0.2607, allocations: 0.5843 MB / 457.1 MB, free: 14.52 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.2608, allocations: 0 / 457.1 MB, free: 14.52 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.371e-05/0.2608, allocations: 20 kB / 457.1 MB, free: 14.5 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.2608, allocations: 12 kB / 457.1 MB, free: 14.49 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001191/0.262, allocations: 0.7417 MB / 457.9 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01424/0.2763, allocations: 12.02 MB / 469.9 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001162/0.2775, allocations: 0.5276 MB / 470.4 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003338/0.2778, allocations: 258 kB / 470.7 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01295/0.2908, allocations: 11.95 MB / 482.6 MB, free: 0.6016 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.929e-05/0.2909, allocations: 43 kB / 482.7 MB, free: 0.5508 MB / 362.7 MB Notification: Performance of pre-optimization done (n=50): time 2.444e-06/0.2909, allocations: 0 / 482.7 MB, free: 0.5508 MB / 362.7 MB Notification: Performance of matching and sorting (n=55): time 0.005158/0.296, allocations: 2.124 MB / 484.8 MB, free: 14.33 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.21e-05/0.2961, allocations: 59.97 kB / 484.8 MB, free: 14.26 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003102/0.2964, allocations: 322.9 kB / 485.2 MB, free: 13.94 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.458e-05/0.2965, allocations: 37.7 kB / 485.2 MB, free: 13.89 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.2966, allocations: 196.4 kB / 485.4 MB, free: 13.7 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/0.2967, allocations: 193.1 kB / 485.6 MB, free: 13.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.13e-05/0.2967, allocations: 12 kB / 485.6 MB, free: 13.49 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.2969, allocations: 354.7 kB / 485.9 MB, free: 13.14 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003445/0.2972, allocations: 229 kB / 486.2 MB, free: 12.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006275/0.2978, allocations: 355.2 kB / 486.5 MB, free: 12.53 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00105/0.2989, allocations: 0.5878 MB / 487.1 MB, free: 11.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.2989, allocations: 0 / 487.1 MB, free: 11.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001592/0.3005, allocations: 0.7556 MB / 487.9 MB, free: 11.14 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.3005, allocations: 8 kB / 487.9 MB, free: 11.13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.3006, allocations: 4 kB / 487.9 MB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004498/0.301, allocations: 106.7 kB / 488 MB, free: 11.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000478/0.3015, allocations: 127.9 kB / 488.1 MB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002124/0.3037, allocations: 3.271 MB / 491.4 MB, free: 7.328 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003365/0.304, allocations: 36.14 kB / 491.4 MB, free: 7.293 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.533e-05/0.3041, allocations: 31.98 kB / 491.4 MB, free: 7.262 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002327/0.3043, allocations: 190.6 kB / 491.6 MB, free: 7.066 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002467/0.3046, allocations: 51.47 kB / 491.7 MB, free: 7.016 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001388/0.306, allocations: 0.8189 MB / 492.5 MB, free: 6.168 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.306, allocations: 8 kB / 492.5 MB, free: 6.16 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.306, allocations: 0 / 492.5 MB, free: 6.16 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009945/0.307, allocations: 0.7596 MB / 493.3 MB, free: 5.328 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00182/0.3088, allocations: 1.298 MB / 494.5 MB, free: 3.965 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.3089, allocations: 0 / 494.5 MB, free: 3.965 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004161/0.3093, allocations: 103.8 kB / 494.7 MB, free: 3.863 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008277/0.3101, allocations: 144.7 kB / 494.8 MB, free: 3.719 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.243e-05/0.3102, allocations: 19.98 kB / 494.8 MB, free: 3.699 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003447/0.3105, allocations: 0.6484 MB / 495.5 MB, free: 3.027 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3105, allocations: 8.031 kB / 495.5 MB, free: 3.02 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00143/0.312, allocations: 0.9004 MB / 496.4 MB, free: 2.098 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.3121, allocations: 124.6 kB / 496.5 MB, free: 1.957 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.358e-05/0.3122, allocations: 19.98 kB / 496.5 MB, free: 1.938 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004072/0.3126, allocations: 27.98 kB / 496.5 MB, free: 1.91 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.986e-05/0.3127, allocations: 36.39 kB / 496.6 MB, free: 1.871 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.599e-05/0.3127, allocations: 27.97 kB / 496.6 MB, free: 1.844 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000255/0.313, allocations: 253.9 kB / 496.8 MB, free: 1.594 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.313, allocations: 0 / 496.8 MB, free: 1.594 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003028/0.316, allocations: 1.312 MB / 498.2 MB, free: 288 kB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00626/0.3223, allocations: 3.044 MB / 0.4895 GB, free: 13.2 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001331/0.3236, allocations: 0.804 MB / 0.4902 GB, free: 12.37 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.369e-06/0.3237, allocations: 3.938 kB / 0.4902 GB, free: 12.36 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004787/0.3241, allocations: 287.2 kB / 0.4905 GB, free: 12.08 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001319/0.3255, allocations: 257.6 kB / 0.4908 GB, free: 11.83 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005698/0.3312, allocations: 3.582 MB / 0.4943 GB, free: 8.145 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003939/0.3316, allocations: 0.8326 MB / 0.4951 GB, free: 7.285 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003597/0.332, allocations: 171.4 kB / 0.4952 GB, free: 7.117 MB / 394.7 MB Notification: Performance of SimCode: time 5.91e-07/0.332, allocations: 3.938 kB / 0.4952 GB, free: 7.113 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.481/6.813, allocations: 34.97 MB / 0.5294 GB, free: 109 MB / 394.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Examples_ReferenceAir_MoistAir1_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Media_Examples_ReferenceAir_MoistAir1.fmu > Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches