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.001587/0.001586, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001945/0.001945, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.333/1.333, allocations: 227.4 MB / 246.8 MB, free: 10.62 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002292/0.002292, allocations: 59.97 kB / 307 MB, free: 0.5664 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.11, allocations: 50.53 MB / 357.6 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.1669/0.277, allocations: 27.11 MB / 384.7 MB, free: 6.574 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003838/0.2808, allocations: 4.159 MB / 388.8 MB, free: 3.684 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002073/0.2811, allocations: 3.688 kB / 388.8 MB, free: 3.684 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005415/0.2816, allocations: 206.6 kB / 389 MB, free: 3.562 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005344/0.2822, allocations: 340.6 kB / 389.4 MB, free: 3.355 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003475/0.2857, allocations: 1.467 MB / 390.8 MB, free: 2.605 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00092/0.2866, allocations: 0.8943 MB / 391.7 MB, free: 2.188 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001807/0.2868, allocations: 105.2 kB / 391.8 MB, free: 2.148 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005501/0.2923, allocations: 4.044 MB / 395.9 MB, free: 1.074 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003468/0.2927, allocations: 280.9 kB / 396.2 MB, free: 0.9531 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.358e-05/0.2927, allocations: 30.94 kB / 396.2 MB, free: 0.9531 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001369/0.2941, allocations: 0.7224 MB / 396.9 MB, free: 0.6172 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.826e-05/0.2942, allocations: 92.06 kB / 397 MB, free: 0.5469 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001829/0.2944, allocations: 190.4 kB / 397.2 MB, free: 452 kB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001035/0.2955, allocations: 0.8453 MB / 398 MB, free: 15.89 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2955, allocations: 4 kB / 398 MB, free: 15.89 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2955, allocations: 0 / 398 MB, free: 15.89 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.2955, allocations: 0 / 398 MB, free: 15.89 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0008989/0.2964, allocations: 0.6523 MB / 398.7 MB, free: 15.32 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.2965, allocations: 9.625 kB / 398.7 MB, free: 15.32 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.37e-05/0.2965, allocations: 62.97 kB / 398.8 MB, free: 15.25 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004523/0.297, allocations: 57.53 kB / 398.8 MB, free: 15.23 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003673/0.2974, allocations: 291.5 kB / 399.1 MB, free: 14.94 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.571e-05/0.2974, allocations: 27.88 kB / 399.1 MB, free: 14.93 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.899e-05/0.2975, allocations: 26.44 kB / 399.2 MB, free: 14.92 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005095/0.298, allocations: 337.2 kB / 399.5 MB, free: 14.66 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/0.298, allocations: 5.094 kB / 399.5 MB, free: 14.66 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.523e-05/0.2981, allocations: 12.69 kB / 399.5 MB, free: 14.65 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.2981, allocations: 6.188 kB / 399.5 MB, free: 14.65 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003382/0.2984, allocations: 212.9 kB / 399.7 MB, free: 14.55 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01219/0.3106, allocations: 5.923 MB / 405.6 MB, free: 9.781 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002735/0.3109, allocations: 179.3 kB / 405.8 MB, free: 9.688 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000129/0.3111, allocations: 91.55 kB / 405.9 MB, free: 9.637 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01003/0.3211, allocations: 3.883 MB / 409.8 MB, free: 6.617 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.757e-05/0.3212, allocations: 30.56 kB / 409.8 MB, free: 6.578 MB / 318.1 MB Notification: Performance of pre-optimization done (n=21): time 2.535e-06/0.3212, allocations: 0 / 409.8 MB, free: 6.578 MB / 318.1 MB Notification: Performance of matching and sorting (n=26): time 0.006086/0.3273, allocations: 1.405 MB / 411.2 MB, free: 5.105 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/0.3273, allocations: 63.39 kB / 411.3 MB, free: 5.031 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002921/0.3276, allocations: 262.5 kB / 411.5 MB, free: 4.77 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.372e-05/0.3277, allocations: 33.7 kB / 411.6 MB, free: 4.73 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.3278, allocations: 184 kB / 411.8 MB, free: 4.547 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.879e-05/0.3279, allocations: 90.75 kB / 411.8 MB, free: 4.457 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.664e-05/0.328, allocations: 73.55 kB / 411.9 MB, free: 4.379 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.3281, allocations: 330.8 kB / 412.2 MB, free: 4.047 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001576/0.3283, allocations: 99.95 kB / 412.3 MB, free: 3.949 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002074/0.3285, allocations: 178.9 kB / 412.5 MB, free: 3.734 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003768/0.3289, allocations: 315.4 kB / 412.8 MB, free: 3.387 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3289, allocations: 0 / 412.8 MB, free: 3.387 MB / 318.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006599/0.3295, allocations: 394.8 kB / 413.2 MB, free: 2.988 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.3296, allocations: 4 kB / 413.2 MB, free: 2.984 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.3296, allocations: 4.875 kB / 413.2 MB, free: 2.98 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003956/0.3336, allocations: 0.9398 MB / 414.1 MB, free: 2.047 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002574/0.3338, allocations: 71.91 kB / 414.2 MB, free: 1.977 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001581/0.3354, allocations: 1.986 MB / 416.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002188/0.3357, allocations: 12 kB / 416.2 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.332e-05/0.3357, allocations: 12 kB / 416.2 MB, free: 15.8 MB / 334.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.0001627/0.3359, allocations: 157.7 kB / 416.4 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.819e-05/0.3359, allocations: 27.66 kB / 416.4 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007134/0.3367, allocations: 0.494 MB / 416.9 MB, free: 15.1 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/0.3367, allocations: 7.984 kB / 416.9 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.3367, allocations: 0 / 416.9 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006472/0.3373, allocations: 0.716 MB / 417.6 MB, free: 14.28 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001242/0.3386, allocations: 0.9458 MB / 418.6 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.3386, allocations: 0 / 418.6 MB, free: 13.27 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001822/0.3388, allocations: 47.91 kB / 418.6 MB, free: 13.23 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001651/0.3405, allocations: 316.4 kB / 418.9 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.186e-05/0.3405, allocations: 8 kB / 418.9 MB, free: 12.91 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000455/0.341, allocations: 0.6498 MB / 419.6 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.341, allocations: 8.016 kB / 419.6 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008385/0.3418, allocations: 0.717 MB / 420.3 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.137e-05/0.3419, allocations: 112.8 kB / 420.4 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.518e-05/0.342, allocations: 7.938 kB / 420.4 MB, free: 11.35 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001706/0.3422, allocations: 7.984 kB / 420.4 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.491e-05/0.3422, allocations: 19.97 kB / 420.5 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.936e-05/0.3422, allocations: 8 kB / 420.5 MB, free: 11.31 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001633/0.3424, allocations: 186 kB / 420.6 MB, free: 11.13 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3424, allocations: 0 / 420.6 MB, free: 11.13 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006371/0.343, allocations: 195.9 kB / 420.8 MB, free: 10.94 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.00163/0.3447, allocations: 1.411 MB / 422.2 MB, free: 9.5 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007931/0.3455, allocations: 470.6 kB / 422.7 MB, free: 9.027 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3455, allocations: 0 / 422.7 MB, free: 9.027 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004808/0.346, allocations: 240.5 kB / 422.9 MB, free: 8.793 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000942/0.3469, allocations: 167.9 kB / 423.1 MB, free: 8.633 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003868/0.3508, allocations: 3.34 MB / 426.4 MB, free: 5.129 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003082/0.3511, allocations: 0.7721 MB / 427.2 MB, free: 4.332 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002142/0.3514, allocations: 54.94 kB / 427.3 MB, free: 4.281 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.3515, allocations: 103.4 kB / 427.4 MB, free: 4.18 MB / 334.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3515, allocations: 0 / 427.4 MB, free: 4.18 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03636/0.3879, allocations: 13.28 MB / 440.7 MB, free: 6.996 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.69/13.08, allocations: 12.88 kB / 440.7 MB, free: 6.992 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