Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001433/0.001433, allocations: 110.2 kB / 16.92 MB, free: 5.785 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 191.3 kB / 17.85 MB, free: 5.164 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.177/2.177, allocations: 222.9 MB / 241.5 MB, free: 15.23 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 47.55 kB / 300.7 MB, free: 5.801 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1467, allocations: 49.43 MB / 350.1 MB, free: 4.359 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.3594/0.5061, allocations: 27.03 MB / 377.2 MB, free: 9.176 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00969/0.5158, allocations: 4.16 MB / 381.3 MB, free: 9.047 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005129/0.5164, allocations: 11.03 kB / 381.3 MB, free: 9.043 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00134/0.5178, allocations: 204 kB / 381.5 MB, free: 9.039 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001685/0.5195, allocations: 333.7 kB / 381.9 MB, free: 9.027 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008937/0.5285, allocations: 1.473 MB / 383.3 MB, free: 8.777 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002233/0.5308, allocations: 0.8887 MB / 384.2 MB, free: 8.594 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003609/0.5312, allocations: 104.3 kB / 384.3 MB, free: 8.582 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01333/0.5445, allocations: 4.046 MB / 388.4 MB, free: 8.141 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001233/0.5458, allocations: 282.9 kB / 388.7 MB, free: 8.082 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002853/0.5462, allocations: 34.72 kB / 388.7 MB, free: 8.078 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003853/0.55, allocations: 0.7219 MB / 389.4 MB, free: 7.895 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003508/0.5504, allocations: 91.44 kB / 389.5 MB, free: 7.848 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000895/0.5514, allocations: 191.9 kB / 389.7 MB, free: 7.754 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002784/0.5542, allocations: 0.8451 MB / 390.5 MB, free: 7.512 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/0.5542, allocations: 0 / 390.5 MB, free: 7.512 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.5543, allocations: 3.938 kB / 390.5 MB, free: 7.508 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.974e-05/0.5543, allocations: 0 / 390.5 MB, free: 7.508 MB / 302.1 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.001614/0.5559, allocations: 0.6541 MB / 391.2 MB, free: 6.977 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 9.969e-05/0.556, allocations: 9.844 kB / 391.2 MB, free: 6.977 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001472/0.5562, allocations: 63.03 kB / 391.3 MB, free: 6.922 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000941/0.5572, allocations: 55.72 kB / 391.3 MB, free: 6.906 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006625/0.5578, allocations: 283.8 kB / 391.6 MB, free: 6.652 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.03e-05/0.5579, allocations: 19.81 kB / 391.6 MB, free: 6.645 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/0.558, allocations: 26.44 kB / 391.6 MB, free: 6.637 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009229/0.559, allocations: 341.4 kB / 392 MB, free: 6.426 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.992e-05/0.559, allocations: 2.469 kB / 392 MB, free: 6.426 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.411e-05/0.5591, allocations: 16.47 kB / 392 MB, free: 6.414 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.664e-05/0.5591, allocations: 6.844 kB / 392 MB, free: 6.414 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006099/0.5597, allocations: 208.2 kB / 392.2 MB, free: 6.344 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02132/0.5811, allocations: 5.925 MB / 398.1 MB, free: 1.715 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004616/0.5816, allocations: 177.7 kB / 398.3 MB, free: 1.617 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002135/0.5818, allocations: 92.89 kB / 398.4 MB, free: 1.566 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01845/0.6003, allocations: 3.883 MB / 402.3 MB, free: 14.86 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000106/0.6004, allocations: 37.41 kB / 402.3 MB, free: 14.81 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 4.909e-06/0.6005, allocations: 0 / 402.3 MB, free: 14.81 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.01223/0.6127, allocations: 1.412 MB / 403.7 MB, free: 13.94 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.823e-05/0.6128, allocations: 54.41 kB / 403.8 MB, free: 13.88 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004393/0.6133, allocations: 265.6 kB / 404 MB, free: 13.7 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.458e-05/0.6133, allocations: 28.64 kB / 404.1 MB, free: 13.66 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001908/0.6135, allocations: 187 kB / 404.2 MB, free: 13.49 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001325/0.6137, allocations: 97.53 kB / 404.3 MB, free: 13.41 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001965/0.6139, allocations: 71.14 kB / 404.4 MB, free: 13.36 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0002464/0.6142, allocations: 340.2 kB / 404.7 MB, free: 13.02 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000301/0.6145, allocations: 95.06 kB / 404.8 MB, free: 12.97 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003919/0.6149, allocations: 193 kB / 405 MB, free: 12.8 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007735/0.6157, allocations: 305.2 kB / 405.3 MB, free: 12.51 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.6157, allocations: 4 kB / 405.3 MB, free: 12.51 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001329/0.6171, allocations: 394.7 kB / 405.7 MB, free: 12.11 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.337e-05/0.6171, allocations: 6.812 kB / 405.7 MB, free: 12.11 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.751e-05/0.6172, allocations: 4 kB / 405.7 MB, free: 12.1 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007169/0.6243, allocations: 0.9369 MB / 406.7 MB, free: 11.17 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005275/0.6249, allocations: 71.91 kB / 406.7 MB, free: 11.1 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003022/0.628, allocations: 1.978 MB / 408.7 MB, free: 8.957 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000455/0.6284, allocations: 8.047 kB / 408.7 MB, free: 8.949 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.566e-05/0.6285, allocations: 24.11 kB / 408.7 MB, free: 8.926 MB / 318.1 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 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 {(2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000307/0.6288, allocations: 161.7 kB / 408.9 MB, free: 8.758 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/0.629, allocations: 27.66 kB / 408.9 MB, free: 8.73 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001344/0.6303, allocations: 487.7 kB / 409.4 MB, free: 8.246 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.098e-05/0.6304, allocations: 11.98 kB / 409.4 MB, free: 8.234 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.6304, allocations: 0 / 409.4 MB, free: 8.234 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001269/0.6317, allocations: 0.7213 MB / 410.1 MB, free: 7.426 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002328/0.634, allocations: 0.9407 MB / 411.1 MB, free: 6.426 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/0.6341, allocations: 0 / 411.1 MB, free: 6.426 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003005/0.6344, allocations: 47.91 kB / 411.1 MB, free: 6.379 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003146/0.6375, allocations: 316.5 kB / 411.4 MB, free: 6.066 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.285e-05/0.6376, allocations: 8 kB / 411.4 MB, free: 6.059 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009609/0.6386, allocations: 0.6537 MB / 412.1 MB, free: 5.379 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.6386, allocations: 0 / 412.1 MB, free: 5.379 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001775/0.6404, allocations: 0.7243 MB / 412.8 MB, free: 4.633 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000195/0.6406, allocations: 100.9 kB / 412.9 MB, free: 4.516 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.01e-05/0.6407, allocations: 4 kB / 412.9 MB, free: 4.512 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000347/0.6411, allocations: 16.12 kB / 412.9 MB, free: 4.496 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.873e-05/0.6412, allocations: 23.84 kB / 413 MB, free: 4.473 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.192e-05/0.6412, allocations: 15.94 kB / 413 MB, free: 4.457 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003522/0.6416, allocations: 182 kB / 413.1 MB, free: 4.277 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6416, allocations: 4 kB / 413.2 MB, free: 4.273 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001483/0.6431, allocations: 187.9 kB / 413.3 MB, free: 4.09 MB / 318.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003091/0.6462, allocations: 1.418 MB / 414.8 MB, free: 2.656 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001488/0.6477, allocations: 467.1 kB / 415.2 MB, free: 2.188 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.6478, allocations: 0 / 415.2 MB, free: 2.188 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008441/0.6486, allocations: 231.8 kB / 415.4 MB, free: 1.961 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001795/0.6504, allocations: 163.1 kB / 415.6 MB, free: 1.805 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007884/0.6583, allocations: 3.35 MB / 418.9 MB, free: 14.29 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005492/0.659, allocations: 0.784 MB / 419.7 MB, free: 13.48 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0005021/0.6595, allocations: 42.95 kB / 419.8 MB, free: 13.44 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002782/0.6598, allocations: 103.4 kB / 419.9 MB, free: 13.34 MB / 334.1 MB Notification: Performance of SimCode: time 1.343e-06/0.6598, allocations: 0 / 419.9 MB, free: 13.34 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07359/0.7334, allocations: 13.29 MB / 433.2 MB, free: 192 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.78/18.52, allocations: 3.75 kB / 433.2 MB, free: 192 kB / 334.1 MB (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1_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_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir1.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches