Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.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.DryAir2,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir2,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001183/0.001184, allocations: 101.4 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001302/0.001302, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.224/1.224, allocations: 227.4 MB / 246.3 MB, free: 10.76 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001077/0.001077, allocations: 59.06 kB / 306.3 MB, free: 0.9844 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0802/0.08129, allocations: 50.54 MB / 356.9 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.1777/0.259, allocations: 37.79 MB / 394.7 MB, free: 15.36 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005265/0.2643, allocations: 4.621 MB / 399.3 MB, free: 12 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004739/0.2648, allocations: 8.5 kB / 399.3 MB, free: 12 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00083/0.2657, allocations: 252.3 kB / 399.5 MB, free: 11.87 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009975/0.2667, allocations: 465.6 kB / 400 MB, free: 11.6 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003723/0.2705, allocations: 1.395 MB / 401.4 MB, free: 10.85 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00198/0.2725, allocations: 1.965 MB / 403.4 MB, free: 9.805 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002432/0.2727, allocations: 128.1 kB / 403.5 MB, free: 9.73 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007989/0.2735, allocations: 400.2 kB / 403.9 MB, free: 9.547 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000741/0.2743, allocations: 431 kB / 404.3 MB, free: 9.309 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.489e-05/0.2744, allocations: 26.12 kB / 404.3 MB, free: 9.309 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001576/0.276, allocations: 0.7171 MB / 405 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001666/0.2761, allocations: 118.1 kB / 405.2 MB, free: 8.887 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004156/0.2766, allocations: 257.5 kB / 405.4 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001416/0.278, allocations: 1.034 MB / 406.4 MB, free: 8.07 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.278, allocations: 5 kB / 406.4 MB, free: 8.066 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.21e-07/0.278, allocations: 0 / 406.4 MB, free: 8.066 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.621e-05/0.278, allocations: 0 / 406.4 MB, free: 8.066 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.001257/0.2793, allocations: 0.7771 MB / 407.2 MB, free: 7.418 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.2793, allocations: 9.594 kB / 407.2 MB, free: 7.418 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.776e-05/0.2794, allocations: 75.75 kB / 407.3 MB, free: 7.348 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000568/0.28, allocations: 81.94 kB / 407.4 MB, free: 7.312 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004323/0.2805, allocations: 332.9 kB / 407.7 MB, free: 6.996 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.224e-05/0.2805, allocations: 40.33 kB / 407.8 MB, free: 6.969 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.401e-05/0.2806, allocations: 38.94 kB / 407.8 MB, free: 6.957 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006688/0.2812, allocations: 469.8 kB / 408.3 MB, free: 6.617 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.839e-05/0.2813, allocations: 2.312 kB / 408.3 MB, free: 6.617 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.221e-05/0.2813, allocations: 17.03 kB / 408.3 MB, free: 6.605 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.2813, allocations: 10.5 kB / 408.3 MB, free: 6.605 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004763/0.2818, allocations: 306.4 kB / 408.6 MB, free: 6.457 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01229/0.2941, allocations: 6.724 MB / 415.3 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000435/0.2946, allocations: 283.9 kB / 415.6 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002063/0.2948, allocations: 144.8 kB / 415.7 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009875/0.3046, allocations: 3.889 MB / 419.6 MB, free: 12.5 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.581e-05/0.3047, allocations: 38.55 kB / 419.6 MB, free: 12.45 MB / 334.1 MB Notification: Performance of pre-optimization done (n=35): time 1.703e-06/0.3047, allocations: 3.938 kB / 419.7 MB, free: 12.45 MB / 334.1 MB Notification: Performance of matching and sorting (n=45): time 0.01098/0.3157, allocations: 2.458 MB / 422.1 MB, free: 9.918 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.212e-05/0.3157, allocations: 55.41 kB / 422.2 MB, free: 9.852 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002917/0.316, allocations: 303.2 kB / 422.5 MB, free: 9.547 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.283e-05/0.3161, allocations: 41.64 kB / 422.5 MB, free: 9.5 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/0.3162, allocations: 224 kB / 422.7 MB, free: 9.277 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001062/0.3163, allocations: 161.7 kB / 422.9 MB, free: 9.117 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001244/0.3165, allocations: 98.16 kB / 423 MB, free: 9.016 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.3166, allocations: 346.8 kB / 423.3 MB, free: 8.668 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002494/0.3168, allocations: 153.1 kB / 423.5 MB, free: 8.52 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003098/0.3172, allocations: 275.7 kB / 423.7 MB, free: 8.203 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005926/0.3178, allocations: 476.2 kB / 424.2 MB, free: 7.688 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3178, allocations: 4 kB / 424.2 MB, free: 7.684 MB / 334.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009869/0.3188, allocations: 0.5882 MB / 424.8 MB, free: 7.082 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.3188, allocations: 11.94 kB / 424.8 MB, free: 7.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.3188, allocations: 4 kB / 424.8 MB, free: 7.066 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00747/0.3263, allocations: 1.84 MB / 426.6 MB, free: 5.238 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003648/0.3267, allocations: 119.8 kB / 426.8 MB, free: 5.121 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001757/0.3284, allocations: 2.461 MB / 429.2 MB, free: 2.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003215/0.3288, allocations: 32.09 kB / 429.3 MB, free: 2.449 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.582e-05/0.3288, allocations: 27.98 kB / 429.3 MB, free: 2.422 MB / 334.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.0001852/0.329, allocations: 185 kB / 429.5 MB, free: 2.234 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.298e-05/0.3291, allocations: 43.47 kB / 429.5 MB, free: 2.191 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001083/0.3302, allocations: 0.859 MB / 430.4 MB, free: 1.305 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/0.3302, allocations: 8 kB / 430.4 MB, free: 1.297 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.524e-06/0.3302, allocations: 0 / 430.4 MB, free: 1.297 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009067/0.3311, allocations: 0.9574 MB / 431.3 MB, free: 276 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001803/0.3329, allocations: 1.489 MB / 432.8 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.3329, allocations: 3.938 kB / 432.8 MB, free: 14.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002902/0.3332, allocations: 79.89 kB / 432.9 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003206/0.3364, allocations: 0.6177 MB / 433.5 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.577e-05/0.3365, allocations: 16 kB / 433.5 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008505/0.3374, allocations: 1.284 MB / 434.8 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3374, allocations: 4.125 kB / 434.8 MB, free: 12.65 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001389/0.3388, allocations: 1.219 MB / 436 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001112/0.3389, allocations: 120.5 kB / 436.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.1e-05/0.339, allocations: 12 kB / 436.2 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002742/0.3392, allocations: 27.92 kB / 436.2 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.952e-05/0.3393, allocations: 27.95 kB / 436.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.942e-05/0.3393, allocations: 19.94 kB / 436.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001947/0.3395, allocations: 209.9 kB / 436.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3395, allocations: 0 / 436.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006698/0.3402, allocations: 239.9 kB / 436.7 MB, free: 10.75 MB / 350.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.002131/0.3423, allocations: 1.928 MB / 438.6 MB, free: 8.785 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001072/0.3434, allocations: 0.6875 MB / 439.3 MB, free: 8.082 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.3434, allocations: 0 / 439.3 MB, free: 8.082 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008535/0.3443, allocations: 443.9 kB / 439.7 MB, free: 7.648 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001122/0.3454, allocations: 227.4 kB / 440 MB, free: 7.43 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005527/0.351, allocations: 4.711 MB / 444.7 MB, free: 2.531 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003423/0.3513, allocations: 0.8362 MB / 445.5 MB, free: 1.668 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003113/0.3517, allocations: 76.33 kB / 445.6 MB, free: 1.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001815/0.3518, allocations: 167.3 kB / 445.7 MB, free: 1.426 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3518, allocations: 0 / 445.7 MB, free: 1.426 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9216/1.273, allocations: 16.57 MB / 462.3 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002649/1.274, allocations: 221.7 kB / 462.5 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.159/4.432, allocations: 0 / 462.5 MB, free: 0.7383 MB / 366.1 MB (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_ReferenceAir_DryAir2_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_ReferenceAir_DryAir2.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches