Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.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 3.2.3+maint.om/package.mo", uses=false) 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 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.DryAir2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir2",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.0009704/0.0009704, allocations: 101.9 kB / 17.15 MB, free: 6.047 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.000949/0.0009489, allocations: 198 kB / 18.07 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.322/1.322, allocations: 205.1 MB / 223.9 MB, free: 12.48 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 47.92 kB / 280.1 MB, free: 3.488 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08532/0.08654, allocations: 46.62 MB / 326.7 MB, free: 4.797 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.04135/0.1279, allocations: 37.71 MB / 364.4 MB, free: 14.95 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008175/0.1362, allocations: 4.615 MB / 369 MB, free: 10.32 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006498/0.1369, allocations: 4 kB / 369 MB, free: 10.31 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001196/0.1381, allocations: 254.7 kB / 369.3 MB, free: 10.06 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001468/0.1396, allocations: 481.6 kB / 369.7 MB, free: 9.59 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006773/0.1464, allocations: 1.378 MB / 371.1 MB, free: 8.207 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002881/0.1493, allocations: 1.963 MB / 373.1 MB, free: 6.238 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003805/0.1497, allocations: 126.4 kB / 373.2 MB, free: 6.117 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001054/0.1508, allocations: 402.5 kB / 373.6 MB, free: 5.723 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009832/0.1518, allocations: 430.3 kB / 374 MB, free: 5.301 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001428/0.1519, allocations: 24 kB / 374 MB, free: 5.277 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002455/0.1544, allocations: 0.7258 MB / 374.8 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002361/0.1546, allocations: 115.5 kB / 374.9 MB, free: 4.438 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005254/0.1552, allocations: 251 kB / 375.1 MB, free: 4.191 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0021/0.1573, allocations: 1.032 MB / 376.2 MB, free: 3.156 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1573, allocations: 0 / 376.2 MB, free: 3.156 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1573, allocations: 0 / 376.2 MB, free: 3.156 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.086e-05/0.1574, allocations: 0 / 376.2 MB, free: 3.156 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001681/0.159, allocations: 0.776 MB / 376.9 MB, free: 2.332 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.1591, allocations: 8.031 kB / 376.9 MB, free: 2.324 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001342/0.1593, allocations: 82.66 kB / 377 MB, free: 2.234 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008806/0.1601, allocations: 76.34 kB / 377.1 MB, free: 2.16 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005817/0.1607, allocations: 339.3 kB / 377.4 MB, free: 1.789 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.523e-05/0.1608, allocations: 33.38 kB / 377.5 MB, free: 1.758 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.062e-05/0.1609, allocations: 44.38 kB / 377.5 MB, free: 1.715 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001017/0.1619, allocations: 475.4 kB / 378 MB, free: 1.207 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.601e-05/0.162, allocations: 3.984 kB / 378 MB, free: 1.203 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.204e-05/0.162, allocations: 16 kB / 378 MB, free: 1.188 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.545e-05/0.1621, allocations: 12 kB / 378 MB, free: 1.176 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006982/0.1628, allocations: 303.7 kB / 378.3 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1543/0.317, allocations: 6.729 MB / 385 MB, free: 54.64 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004243/0.3175, allocations: 278.6 kB / 385.3 MB, free: 54.61 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002024/0.3177, allocations: 159.9 kB / 385.5 MB, free: 54.58 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009648/0.3274, allocations: 3.885 MB / 389.3 MB, free: 52.64 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.3274, allocations: 40.84 kB / 389.4 MB, free: 52.59 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 2.054e-06/0.3274, allocations: 0 / 389.4 MB, free: 52.59 MB / 318.1 MB Notification: Performance of matching and sorting (n=45): time 0.011/0.3384, allocations: 2.45 MB / 391.8 MB, free: 51.3 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.598e-05/0.3385, allocations: 67.17 kB / 391.9 MB, free: 51.23 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002777/0.3388, allocations: 298.5 kB / 392.2 MB, free: 51.03 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.584e-05/0.3388, allocations: 36.52 kB / 392.2 MB, free: 50.99 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.403e-05/0.3389, allocations: 229.4 kB / 392.4 MB, free: 50.79 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.285e-05/0.339, allocations: 152.2 kB / 392.6 MB, free: 50.66 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00012/0.3391, allocations: 101.6 kB / 392.7 MB, free: 50.59 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.779e-05/0.3392, allocations: 347.7 kB / 393 MB, free: 50.25 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002407/0.3394, allocations: 154.2 kB / 393.2 MB, free: 50.18 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002883/0.3397, allocations: 273.8 kB / 393.4 MB, free: 49.95 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005635/0.3403, allocations: 480.2 kB / 393.9 MB, free: 49.63 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3403, allocations: 4.969 kB / 393.9 MB, free: 49.63 MB / 318.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009481/0.3413, allocations: 0.5851 MB / 394.5 MB, free: 49.31 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.3413, allocations: 15.25 kB / 394.5 MB, free: 49.3 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.3413, allocations: 7.406 kB / 394.5 MB, free: 49.3 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007353/0.3487, allocations: 1.843 MB / 396.4 MB, free: 48.49 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003804/0.3491, allocations: 110.4 kB / 396.5 MB, free: 48.47 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001337/0.3504, allocations: 2.469 MB / 398.9 MB, free: 45.99 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003478/0.3508, allocations: 35.92 kB / 399 MB, free: 45.97 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.957e-05/0.3508, allocations: 19.84 kB / 399 MB, free: 45.96 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,1), (2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001858/0.351, allocations: 173.4 kB / 399.2 MB, free: 45.81 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.403e-05/0.3511, allocations: 47.27 kB / 399.2 MB, free: 45.78 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009295/0.352, allocations: 0.8574 MB / 400.1 MB, free: 45.28 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.148e-06/0.352, allocations: 15.92 kB / 400.1 MB, free: 45.27 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-06/0.352, allocations: 0.875 kB / 400.1 MB, free: 45.27 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007203/0.3528, allocations: 0.9507 MB / 401 MB, free: 44.56 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001451/0.3542, allocations: 1.489 MB / 402.5 MB, free: 43.31 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.3542, allocations: 8.031 kB / 402.5 MB, free: 43.3 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002584/0.3545, allocations: 67.91 kB / 402.6 MB, free: 43.23 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002955/0.3575, allocations: 0.6266 MB / 403.2 MB, free: 42.6 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.115e-05/0.3575, allocations: 12 kB / 403.2 MB, free: 42.59 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006328/0.3582, allocations: 1.292 MB / 404.5 MB, free: 41.25 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.3582, allocations: 4.031 kB / 404.5 MB, free: 41.25 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001118/0.3593, allocations: 1.219 MB / 405.8 MB, free: 40 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.786e-05/0.3594, allocations: 120.5 kB / 405.9 MB, free: 39.86 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.833e-05/0.3595, allocations: 14.52 kB / 405.9 MB, free: 39.85 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002747/0.3597, allocations: 20 kB / 405.9 MB, free: 39.83 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.441e-05/0.3598, allocations: 27.95 kB / 405.9 MB, free: 39.8 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.82e-05/0.3598, allocations: 23.92 kB / 406 MB, free: 39.78 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001646/0.36, allocations: 209.9 kB / 406.2 MB, free: 39.58 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.36, allocations: 0 / 406.2 MB, free: 39.58 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007176/0.3607, allocations: 230.5 kB / 406.4 MB, free: 39.36 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.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 (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001852/0.3626, allocations: 1.923 MB / 408.3 MB, free: 37.44 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001008/0.3636, allocations: 0.6924 MB / 409 MB, free: 36.73 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3636, allocations: 0.5625 kB / 409 MB, free: 36.73 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007629/0.3644, allocations: 433 kB / 409.4 MB, free: 36.31 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001091/0.3655, allocations: 243.9 kB / 409.7 MB, free: 36.09 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004844/0.3703, allocations: 4.724 MB / 414.4 MB, free: 31.19 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002219/0.3706, allocations: 0.8362 MB / 415.2 MB, free: 30.33 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003179/0.3709, allocations: 68.72 kB / 415.3 MB, free: 30.26 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000157/0.3711, allocations: 159.4 kB / 415.5 MB, free: 30.11 MB / 318.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3711, allocations: 0 / 415.5 MB, free: 30.11 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02956/0.4007, allocations: 16.58 MB / 432 MB, free: 13.48 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001578/0.4009, allocations: 222 kB / 432.2 MB, free: 13.22 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.238/2.639, allocations: 0 / 432.2 MB, free: 13.22 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir2_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir2.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches