Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001568/0.001568, allocations: 113.6 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001802/0.001803, allocations: 203.9 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 63.89 kB / 358.2 MB, free: 13.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2493/0.2505, allocations: 50.54 MB / 408.8 MB, free: 1.508 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.04934/0.2999, allocations: 50.66 MB / 459.4 MB, free: 14.67 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00574/0.3057, allocations: 5.184 MB / 464.6 MB, free: 9.469 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002337/0.306, allocations: 7.938 kB / 464.6 MB, free: 9.461 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007185/0.3067, allocations: 254.6 kB / 464.9 MB, free: 9.211 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006338/0.3074, allocations: 373.9 kB / 465.2 MB, free: 8.844 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01636/0.3237, allocations: 7.15 MB / 472.4 MB, free: 1.699 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001291/0.3251, allocations: 1.099 MB / 473.5 MB, free: 0.5938 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002639/0.3253, allocations: 149.5 kB / 473.6 MB, free: 456 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006389/0.3317, allocations: 3.601 MB / 477.2 MB, free: 12.83 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005261/0.3323, allocations: 402.6 kB / 477.6 MB, free: 12.44 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.701e-05/0.3324, allocations: 60 kB / 477.7 MB, free: 12.38 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01629/0.3487, allocations: 9.959 MB / 487.6 MB, free: 2.406 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000315/0.349, allocations: 223.5 kB / 487.9 MB, free: 2.188 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004156/0.3495, allocations: 306.9 kB / 488.2 MB, free: 1.887 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01236/0.3618, allocations: 5.522 MB / 493.7 MB, free: 12.35 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.3619, allocations: 0 / 493.7 MB, free: 12.35 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.3619, allocations: 4 kB / 493.7 MB, free: 12.35 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.882e-05/0.3619, allocations: 0 / 493.7 MB, free: 12.35 MB / 414.1 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.003523/0.3655, allocations: 1.406 MB / 495.1 MB, free: 10.89 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.3655, allocations: 12.03 kB / 495.1 MB, free: 10.88 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.703e-05/0.3656, allocations: 86.52 kB / 495.2 MB, free: 10.78 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003373/0.366, allocations: 63.7 kB / 495.2 MB, free: 10.72 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005241/0.3665, allocations: 363.1 kB / 495.6 MB, free: 10.32 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.77e-05/0.3665, allocations: 33 kB / 495.6 MB, free: 10.29 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.098e-05/0.3666, allocations: 44 kB / 495.7 MB, free: 10.25 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001249/0.3679, allocations: 0.5804 MB / 496.3 MB, free: 9.656 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.107e-05/0.3679, allocations: 4 kB / 496.3 MB, free: 9.652 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.427e-05/0.368, allocations: 24 kB / 496.3 MB, free: 9.629 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.368, allocations: 8 kB / 496.3 MB, free: 9.621 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001269/0.3693, allocations: 0.7456 MB / 497 MB, free: 8.879 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01579/0.3851, allocations: 11.98 MB / 0.4971 GB, free: 10.82 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001301/0.3864, allocations: 0.5312 MB / 0.4976 GB, free: 10.28 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003803/0.3868, allocations: 257 kB / 0.4979 GB, free: 10.03 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0144/0.4012, allocations: 11.9 MB / 0.5095 GB, free: 11.82 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.925e-05/0.4013, allocations: 46.94 kB / 0.5095 GB, free: 11.77 MB / 446.1 MB Notification: Performance of pre-optimization done (n=50): time 2.695e-06/0.4013, allocations: 0 / 0.5095 GB, free: 11.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=55): time 0.006042/0.4074, allocations: 2.121 MB / 0.5116 GB, free: 9.555 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.801e-05/0.4074, allocations: 63.91 kB / 0.5116 GB, free: 9.477 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003687/0.4078, allocations: 315 kB / 0.5119 GB, free: 9.164 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.286e-05/0.4079, allocations: 37.7 kB / 0.512 GB, free: 9.121 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00013/0.408, allocations: 204.7 kB / 0.5122 GB, free: 8.918 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001455/0.4082, allocations: 206.3 kB / 0.5124 GB, free: 8.715 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001806/0.4084, allocations: 114.2 kB / 0.5125 GB, free: 8.598 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.4085, allocations: 346.8 kB / 0.5128 GB, free: 8.25 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003712/0.4089, allocations: 241 kB / 0.513 GB, free: 8.016 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006306/0.4095, allocations: 339.3 kB / 0.5134 GB, free: 7.648 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001127/0.4107, allocations: 0.5956 MB / 0.5139 GB, free: 7.02 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.4107, allocations: 3.938 kB / 0.514 GB, free: 7.016 MB / 446.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001791/0.4125, allocations: 0.7483 MB / 0.5147 GB, free: 6.254 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.4125, allocations: 11.94 kB / 0.5147 GB, free: 6.242 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.4125, allocations: 4 kB / 0.5147 GB, free: 6.238 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004947/0.413, allocations: 106.5 kB / 0.5148 GB, free: 6.125 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000496/0.4135, allocations: 127.8 kB / 0.5149 GB, free: 6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002499/0.416, allocations: 3.472 MB / 0.5183 GB, free: 2.223 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003478/0.4164, allocations: 12 kB / 0.5183 GB, free: 2.211 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.244e-05/0.4165, allocations: 31.98 kB / 0.5184 GB, free: 2.18 MB / 446.1 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 (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002996/0.4168, allocations: 200.6 kB / 0.5185 GB, free: 1.977 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003333/0.4171, allocations: 47.72 kB / 0.5186 GB, free: 1.93 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001555/0.4187, allocations: 0.8192 MB / 0.5194 GB, free: 1.074 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.4187, allocations: 4 kB / 0.5194 GB, free: 1.07 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.4187, allocations: 4 kB / 0.5194 GB, free: 1.066 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001114/0.4199, allocations: 0.7635 MB / 0.5201 GB, free: 240 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002112/0.422, allocations: 1.305 MB / 0.5214 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.422, allocations: 4 kB / 0.5214 GB, free: 14.86 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004452/0.4225, allocations: 99.88 kB / 0.5215 GB, free: 14.76 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000918/0.4234, allocations: 156.6 kB / 0.5217 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.226e-05/0.4234, allocations: 12 kB / 0.5217 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004084/0.4239, allocations: 0.6523 MB / 0.5223 GB, free: 13.92 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.4239, allocations: 0 / 0.5223 GB, free: 13.92 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001662/0.4255, allocations: 0.9135 MB / 0.5232 GB, free: 12.98 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001673/0.4257, allocations: 109 kB / 0.5233 GB, free: 12.85 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.847e-05/0.4258, allocations: 12 kB / 0.5233 GB, free: 12.84 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004459/0.4263, allocations: 23.98 kB / 0.5233 GB, free: 12.82 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.526e-05/0.4264, allocations: 40.33 kB / 0.5234 GB, free: 12.78 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.03e-05/0.4264, allocations: 23.98 kB / 0.5234 GB, free: 12.75 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003102/0.4268, allocations: 265.9 kB / 0.5237 GB, free: 12.5 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4268, allocations: 0 / 0.5237 GB, free: 12.5 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004113/0.4309, allocations: 1.337 MB / 0.525 GB, free: 11.16 MB / 462.1 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.008201/0.4391, allocations: 3.041 MB / 0.5279 GB, free: 8.082 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001655/0.4408, allocations: 0.8153 MB / 0.5287 GB, free: 7.234 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.4408, allocations: 0 / 0.5287 GB, free: 7.234 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005794/0.4414, allocations: 295.1 kB / 0.529 GB, free: 6.945 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001503/0.4429, allocations: 277.7 kB / 0.5293 GB, free: 6.676 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0093/0.4522, allocations: 5.325 MB / 0.5345 GB, free: 1.176 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000395/0.4527, allocations: 0.8365 MB / 0.5353 GB, free: 320 kB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0005302/0.4532, allocations: 148.3 kB / 0.5354 GB, free: 168 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002656/0.4535, allocations: 155.4 kB / 0.5356 GB, free: 12 kB / 462.1 MB Notification: Performance of SimCode: time 7.81e-07/0.4535, allocations: 0 / 0.5356 GB, free: 12 kB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2843/0.7377, allocations: 50.61 MB / 0.585 GB, free: 89.51 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.69/14.42, allocations: 13.34 kB / 0.585 GB, free: 89.5 MB / 462.1 MB (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000404 Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir1.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches