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.0008666/0.0008666, allocations: 93.22 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001028/0.001028, allocations: 203.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.217/1.217, allocations: 227.7 MB / 246.8 MB, free: 11.29 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002005/0.0002005, allocations: 4 kB / 307.8 MB, free: 0.7148 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07914/0.07936, allocations: 51.51 MB / 359.3 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.1611/0.2405, allocations: 26.68 MB / 386 MB, free: 6.855 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00329/0.2438, allocations: 4.149 MB / 390.2 MB, free: 4.266 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001539/0.244, allocations: 2.188 kB / 390.2 MB, free: 4.266 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004701/0.2444, allocations: 183.5 kB / 390.4 MB, free: 4.164 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004922/0.2449, allocations: 339.3 kB / 390.7 MB, free: 3.965 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002854/0.2478, allocations: 1.238 MB / 391.9 MB, free: 3.316 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001104/0.2489, allocations: 1.336 MB / 393.3 MB, free: 2.863 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001439/0.2491, allocations: 77.53 kB / 393.3 MB, free: 2.828 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00544/0.2545, allocations: 4.204 MB / 397.5 MB, free: 1.551 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000303/0.2548, allocations: 284.4 kB / 397.8 MB, free: 1.398 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.257e-05/0.2549, allocations: 14.28 kB / 397.8 MB, free: 1.398 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001038/0.2559, allocations: 0.6955 MB / 398.5 MB, free: 1.066 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.737e-05/0.256, allocations: 77.78 kB / 398.6 MB, free: 1.012 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001499/0.2562, allocations: 207.4 kB / 398.8 MB, free: 0.8828 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007303/0.2569, allocations: 0.8195 MB / 399.6 MB, free: 364 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.2569, allocations: 0 / 399.6 MB, free: 364 kB / 302.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.2569, allocations: 0 / 399.6 MB, free: 364 kB / 302.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.2569, allocations: 0 / 399.6 MB, free: 364 kB / 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.0006464/0.2576, allocations: 0.5853 MB / 400.2 MB, free: 15.83 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.2576, allocations: 9.625 kB / 400.2 MB, free: 15.83 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.23e-05/0.2577, allocations: 62.98 kB / 400.3 MB, free: 15.77 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003842/0.2581, allocations: 61.53 kB / 400.3 MB, free: 15.74 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003103/0.2584, allocations: 287.9 kB / 400.6 MB, free: 15.45 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.2584, allocations: 20.06 kB / 400.6 MB, free: 15.45 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.204e-05/0.2585, allocations: 29.16 kB / 400.7 MB, free: 15.43 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004518/0.2589, allocations: 342.8 kB / 401 MB, free: 15.18 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.2589, allocations: 4.859 kB / 401 MB, free: 15.17 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.088e-05/0.259, allocations: 13.19 kB / 401 MB, free: 15.16 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.259, allocations: 11.12 kB / 401 MB, free: 15.16 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002999/0.2593, allocations: 211 kB / 401.2 MB, free: 15.06 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01118/0.2705, allocations: 5.902 MB / 407.1 MB, free: 10.31 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002579/0.2708, allocations: 184.9 kB / 407.3 MB, free: 10.21 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000115/0.2709, allocations: 89.89 kB / 407.4 MB, free: 10.16 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009476/0.2804, allocations: 3.871 MB / 411.3 MB, free: 6.852 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.743e-05/0.2804, allocations: 38.56 kB / 411.3 MB, free: 6.805 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 2.074e-06/0.2804, allocations: 0 / 411.3 MB, free: 6.805 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.005747/0.2862, allocations: 1.426 MB / 412.7 MB, free: 5.309 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/0.2862, allocations: 55.41 kB / 412.8 MB, free: 5.242 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002441/0.2865, allocations: 262.5 kB / 413.1 MB, free: 4.98 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.178e-05/0.2865, allocations: 29.7 kB / 413.1 MB, free: 4.945 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.2866, allocations: 188.1 kB / 413.3 MB, free: 4.758 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.62e-05/0.2867, allocations: 90.66 kB / 413.4 MB, free: 4.668 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.426e-05/0.2867, allocations: 37.7 kB / 413.4 MB, free: 4.625 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.2869, allocations: 338.8 kB / 413.7 MB, free: 4.285 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/0.287, allocations: 87.97 kB / 413.8 MB, free: 4.199 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000198/0.2872, allocations: 190.9 kB / 414 MB, free: 3.973 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003691/0.2876, allocations: 303.5 kB / 414.3 MB, free: 3.637 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2876, allocations: 4 kB / 414.3 MB, free: 3.633 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006204/0.2882, allocations: 390.7 kB / 414.7 MB, free: 3.238 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.2882, allocations: 4 kB / 414.7 MB, free: 3.234 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.2883, allocations: 4.375 kB / 414.7 MB, free: 3.23 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003101/0.2914, allocations: 409.3 kB / 415.1 MB, free: 2.824 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002317/0.2916, allocations: 63.91 kB / 415.2 MB, free: 2.762 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001249/0.2929, allocations: 1.895 MB / 417 MB, free: 0.707 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002222/0.2931, allocations: 23.84 kB / 417.1 MB, free: 0.6836 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.132e-05/0.2931, allocations: 16 kB / 417.1 MB, free: 0.668 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.0001366/0.2933, allocations: 157.8 kB / 417.2 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.068e-05/0.2933, allocations: 23.72 kB / 417.3 MB, free: 492 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006584/0.294, allocations: 0.4938 MB / 417.8 MB, free: 15.97 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.704e-06/0.294, allocations: 8 kB / 417.8 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.294, allocations: 3.938 kB / 417.8 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005827/0.2946, allocations: 0.7121 MB / 418.5 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001171/0.2958, allocations: 0.9498 MB / 419.4 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.2958, allocations: 0 / 419.4 MB, free: 14.14 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001676/0.296, allocations: 39.98 kB / 419.5 MB, free: 14.1 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001652/0.2976, allocations: 336.2 kB / 419.8 MB, free: 13.77 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.339e-05/0.2977, allocations: 8 kB / 419.8 MB, free: 13.76 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003988/0.2981, allocations: 0.6421 MB / 420.4 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.2981, allocations: 0 / 420.4 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008/0.2989, allocations: 0.7247 MB / 421.2 MB, free: 12.34 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.952e-05/0.299, allocations: 108.8 kB / 421.3 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.266e-05/0.2991, allocations: 11.94 kB / 421.3 MB, free: 12.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001914/0.2992, allocations: 23.95 kB / 421.3 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.88e-05/0.2993, allocations: 11.98 kB / 421.3 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.119e-05/0.2993, allocations: 11.98 kB / 421.3 MB, free: 12.16 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001553/0.2995, allocations: 182 kB / 421.5 MB, free: 11.98 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2995, allocations: 0 / 421.5 MB, free: 11.98 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006232/0.3001, allocations: 187.9 kB / 421.7 MB, free: 11.8 MB / 334.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.001583/0.3017, allocations: 1.417 MB / 423.1 MB, free: 10.35 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006866/0.3024, allocations: 455.6 kB / 423.6 MB, free: 9.895 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3024, allocations: 0 / 423.6 MB, free: 9.895 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004432/0.3029, allocations: 231.8 kB / 423.8 MB, free: 9.668 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009368/0.3038, allocations: 168.4 kB / 424 MB, free: 9.504 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003794/0.3076, allocations: 3.53 MB / 427.5 MB, free: 5.812 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002906/0.3079, allocations: 0.7837 MB / 428.3 MB, free: 5.004 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002065/0.3081, allocations: 50.94 kB / 428.3 MB, free: 4.957 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001293/0.3083, allocations: 107.4 kB / 428.4 MB, free: 4.852 MB / 334.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3083, allocations: 0 / 428.4 MB, free: 4.852 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0239/0.3322, allocations: 12.73 MB / 441.1 MB, free: 8.285 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001623/0.3324, allocations: 231.8 kB / 441.4 MB, free: 8.027 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.054/2.386, allocations: 0 / 441.4 MB, free: 8.027 MB / 350.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.0.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