Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.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.DryAir1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001991/0.001991, allocations: 121.1 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002316/0.002316, allocations: 203.8 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.377/1.377, allocations: 227.4 MB / 247 MB, free: 10.41 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00174/0.00174, allocations: 64.12 kB / 358.3 MB, free: 13.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2165/0.2183, allocations: 50.55 MB / 408.8 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02739/0.2457, allocations: 27.11 MB / 435.9 MB, free: 6.344 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004754/0.2505, allocations: 4.159 MB / 440.1 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001442/0.2506, allocations: 8 kB / 440.1 MB, free: 2.164 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005708/0.2512, allocations: 206.7 kB / 440.3 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005742/0.2518, allocations: 338.1 kB / 440.6 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003514/0.2554, allocations: 1.476 MB / 442.1 MB, free: 160 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009488/0.2563, allocations: 0.8834 MB / 443 MB, free: 15.27 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001829/0.2565, allocations: 100.7 kB / 443.1 MB, free: 15.17 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005702/0.2622, allocations: 4.057 MB / 447.2 MB, free: 11.11 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000351/0.2626, allocations: 274.9 kB / 447.4 MB, free: 10.84 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.501e-05/0.2627, allocations: 36 kB / 447.5 MB, free: 10.8 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001299/0.264, allocations: 0.722 MB / 448.2 MB, free: 10.08 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000114/0.2641, allocations: 95.7 kB / 448.3 MB, free: 9.988 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002156/0.2643, allocations: 199.2 kB / 448.5 MB, free: 9.793 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001091/0.2654, allocations: 0.8452 MB / 449.3 MB, free: 8.945 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.2654, allocations: 0 / 449.3 MB, free: 8.945 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.002e-06/0.2654, allocations: 0 / 449.3 MB, free: 8.945 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.2654, allocations: 0 / 449.3 MB, free: 8.945 MB / 366.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.0008961/0.2663, allocations: 0.6619 MB / 450 MB, free: 8.234 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.2664, allocations: 8.031 kB / 450 MB, free: 8.227 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.836e-05/0.2665, allocations: 70.66 kB / 450.1 MB, free: 8.148 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004242/0.2669, allocations: 56.73 kB / 450.1 MB, free: 8.094 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004019/0.2673, allocations: 291.8 kB / 450.4 MB, free: 7.77 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.229e-05/0.2673, allocations: 20.94 kB / 450.4 MB, free: 7.75 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.922e-05/0.2674, allocations: 24.38 kB / 450.4 MB, free: 7.727 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005028/0.2679, allocations: 346.4 kB / 450.8 MB, free: 7.348 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.2679, allocations: 3.984 kB / 450.8 MB, free: 7.344 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.158e-05/0.268, allocations: 12 kB / 450.8 MB, free: 7.332 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.268, allocations: 12 kB / 450.8 MB, free: 7.32 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003388/0.2683, allocations: 214 kB / 451 MB, free: 7.113 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01245/0.2808, allocations: 5.908 MB / 456.9 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002996/0.2811, allocations: 178.6 kB / 457.1 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001362/0.2812, allocations: 91.83 kB / 457.2 MB, free: 440 kB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01026/0.2915, allocations: 3.889 MB / 461.1 MB, free: 12.24 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.313e-05/0.2916, allocations: 34.56 kB / 461.1 MB, free: 12.2 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.724e-06/0.2916, allocations: 0 / 461.1 MB, free: 12.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.006004/0.2976, allocations: 1.426 MB / 462.5 MB, free: 10.7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/0.2976, allocations: 55.41 kB / 462.6 MB, free: 10.63 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002884/0.2979, allocations: 270.5 kB / 462.9 MB, free: 10.36 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.91e-05/0.298, allocations: 33.7 kB / 462.9 MB, free: 10.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/0.2981, allocations: 180.5 kB / 463.1 MB, free: 10.14 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.649e-05/0.2982, allocations: 103.1 kB / 463.2 MB, free: 10.04 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.2983, allocations: 73.59 kB / 463.2 MB, free: 9.961 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001454/0.2985, allocations: 334.8 kB / 463.6 MB, free: 9.625 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001605/0.2986, allocations: 95.95 kB / 463.7 MB, free: 9.531 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002366/0.2989, allocations: 186.8 kB / 463.8 MB, free: 9.309 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004193/0.2993, allocations: 307 kB / 464.1 MB, free: 8.969 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2993, allocations: 0 / 464.1 MB, free: 8.969 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006776/0.3, allocations: 395.2 kB / 464.5 MB, free: 8.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.3, allocations: 4 kB / 464.5 MB, free: 8.566 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.3, allocations: 4 kB / 464.5 MB, free: 8.562 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003826/0.3039, allocations: 0.9363 MB / 465.5 MB, free: 7.629 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002491/0.3041, allocations: 63.91 kB / 465.5 MB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001642/0.3058, allocations: 1.97 MB / 467.5 MB, free: 5.426 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001733/0.306, allocations: 12.16 kB / 467.5 MB, free: 5.414 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.76e-05/0.306, allocations: 19.98 kB / 467.5 MB, free: 5.395 MB / 382.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.0001736/0.3062, allocations: 165.6 kB / 467.7 MB, free: 5.223 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.423e-05/0.3062, allocations: 27.81 kB / 467.7 MB, free: 5.195 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007414/0.307, allocations: 486.3 kB / 468.2 MB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.937e-06/0.307, allocations: 4 kB / 468.2 MB, free: 4.699 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.307, allocations: 0 / 468.2 MB, free: 4.699 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007408/0.3078, allocations: 0.7201 MB / 468.9 MB, free: 3.891 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001259/0.309, allocations: 0.9424 MB / 469.9 MB, free: 2.887 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.3091, allocations: 0 / 469.9 MB, free: 2.887 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001887/0.3092, allocations: 51.92 kB / 469.9 MB, free: 2.836 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001654/0.3109, allocations: 316.5 kB / 470.2 MB, free: 2.523 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.267e-05/0.3109, allocations: 8 kB / 470.2 MB, free: 2.516 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005436/0.3115, allocations: 0.6421 MB / 470.9 MB, free: 1.848 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.3115, allocations: 7.969 kB / 470.9 MB, free: 1.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009556/0.3125, allocations: 0.7217 MB / 471.6 MB, free: 1.094 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.095e-05/0.3126, allocations: 100.9 kB / 471.7 MB, free: 0.9766 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.21e-05/0.3126, allocations: 7.938 kB / 471.7 MB, free: 0.9688 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001623/0.3128, allocations: 8 kB / 471.7 MB, free: 0.9609 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.541e-05/0.3128, allocations: 19.97 kB / 471.7 MB, free: 0.9414 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.205e-05/0.3129, allocations: 8 kB / 471.7 MB, free: 0.9336 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001898/0.3131, allocations: 190 kB / 471.9 MB, free: 0.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3131, allocations: 0 / 471.9 MB, free: 0.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006258/0.3137, allocations: 191.7 kB / 472.1 MB, free: 0.5625 MB / 382.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.001758/0.3155, allocations: 1.429 MB / 473.5 MB, free: 15.1 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008104/0.3163, allocations: 455 kB / 474 MB, free: 14.64 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.3163, allocations: 4 kB / 474 MB, free: 14.64 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005129/0.3168, allocations: 235.8 kB / 474.2 MB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009479/0.3178, allocations: 171.8 kB / 474.4 MB, free: 14.24 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004294/0.3221, allocations: 3.347 MB / 477.7 MB, free: 10.73 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004021/0.3225, allocations: 0.7721 MB / 478.5 MB, free: 9.934 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002098/0.3227, allocations: 46.95 kB / 478.6 MB, free: 9.887 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001462/0.3229, allocations: 107.3 kB / 478.7 MB, free: 9.781 MB / 398.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3229, allocations: 0 / 478.7 MB, free: 9.781 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04214/0.365, allocations: 13.42 MB / 492.1 MB, free: 12.48 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/12.06, allocations: 11.98 kB / 492.1 MB, free: 12.47 MB / 414.1 MB (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_ReferenceAir_DryAir1_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_ReferenceAir_DryAir1.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches