Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.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.MoistAir,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001128/0.001128, allocations: 105.2 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001071/0.001071, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.313/1.313, allocations: 227.4 MB / 246.8 MB, free: 10.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 56.59 kB / 307 MB, free: 0.5273 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07914/0.08042, allocations: 50.54 MB / 357.6 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.173/0.2534, allocations: 26.63 MB / 384.2 MB, free: 7.5 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002281/0.2558, allocations: 2.25 MB / 386.5 MB, free: 5.926 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.444e-05/0.2559, allocations: 0 / 386.5 MB, free: 5.926 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000343/0.2562, allocations: 70.17 kB / 386.5 MB, free: 5.891 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003539/0.2566, allocations: 162.1 kB / 386.7 MB, free: 5.797 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01537/0.272, allocations: 6.511 MB / 393.2 MB, free: 2.43 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004028/0.2724, allocations: 340.4 kB / 393.5 MB, free: 2.25 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.541e-05/0.2725, allocations: 14.23 kB / 393.5 MB, free: 2.242 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001847/0.2727, allocations: 138.8 kB / 393.7 MB, free: 2.176 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001814/0.2729, allocations: 126.3 kB / 393.8 MB, free: 2.105 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.5e-05/0.2729, allocations: 12.03 kB / 393.8 MB, free: 2.105 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01483/0.2877, allocations: 9.36 MB / 403.2 MB, free: 13.21 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001195/0.2879, allocations: 74.58 kB / 403.2 MB, free: 13.16 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000168/0.2881, allocations: 102.7 kB / 403.3 MB, free: 13.11 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01017/0.2982, allocations: 4.731 MB / 408.1 MB, free: 8.941 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2983, allocations: 0 / 408.1 MB, free: 8.941 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.177e-05/0.2983, allocations: 4 kB / 408.1 MB, free: 8.938 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.233e-06/0.2983, allocations: 0 / 408.1 MB, free: 8.938 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.003015/0.3013, allocations: 1.147 MB / 409.2 MB, free: 7.742 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.3014, allocations: 8.031 kB / 409.2 MB, free: 7.734 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.875e-05/0.3014, allocations: 54.73 kB / 409.3 MB, free: 7.672 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000146/0.3016, allocations: 31.55 kB / 409.3 MB, free: 7.645 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002127/0.3018, allocations: 215.5 kB / 409.5 MB, free: 7.395 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.3018, allocations: 8.328 kB / 409.5 MB, free: 7.387 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.397e-05/0.3019, allocations: 23.98 kB / 409.6 MB, free: 7.363 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006696/0.3026, allocations: 285.4 kB / 409.8 MB, free: 7.074 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.3026, allocations: 3.906 kB / 409.8 MB, free: 7.07 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.262e-05/0.3026, allocations: 8 kB / 409.9 MB, free: 7.062 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.956e-05/0.3026, allocations: 11.94 kB / 409.9 MB, free: 7.051 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007565/0.3034, allocations: 316.8 kB / 410.2 MB, free: 6.742 MB / 318.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0013/0.3047, allocations: 0.8325 MB / 411 MB, free: 5.828 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000699/0.3054, allocations: 262.6 kB / 411.3 MB, free: 5.555 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003019/0.3057, allocations: 133.6 kB / 411.4 MB, free: 5.418 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01499/0.3207, allocations: 12.84 MB / 424.2 MB, free: 6.062 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/0.3208, allocations: 38.56 kB / 424.3 MB, free: 6.016 MB / 334.1 MB Notification: Performance of pre-optimization done (n=29): time 2.445e-06/0.3208, allocations: 0 / 424.3 MB, free: 6.016 MB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.003002/0.3238, allocations: 0.7023 MB / 425 MB, free: 5.309 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.72e-05/0.3239, allocations: 81.11 kB / 425.1 MB, free: 5.211 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.324, allocations: 151.9 kB / 425.2 MB, free: 5.055 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.757e-05/0.3241, allocations: 33.7 kB / 425.2 MB, free: 5.016 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.995e-05/0.3241, allocations: 112.8 kB / 425.3 MB, free: 4.902 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001029/0.3243, allocations: 130.1 kB / 425.5 MB, free: 4.773 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/0.3244, allocations: 77.62 kB / 425.5 MB, free: 4.691 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.3245, allocations: 330.8 kB / 425.9 MB, free: 4.359 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000386/0.3249, allocations: 127.9 kB / 426 MB, free: 4.234 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004883/0.3254, allocations: 211.6 kB / 426.2 MB, free: 4 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009281/0.3263, allocations: 363 kB / 426.6 MB, free: 3.621 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3263, allocations: 0 / 426.6 MB, free: 3.621 MB / 334.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001159/0.3275, allocations: 424.6 kB / 427 MB, free: 3.203 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.3275, allocations: 7.938 kB / 427 MB, free: 3.195 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/0.3276, allocations: 4 kB / 427 MB, free: 3.191 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/0.3276, allocations: 15.91 kB / 427 MB, free: 3.176 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004802/0.3281, allocations: 87.88 kB / 427.1 MB, free: 3.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.537e-05/0.3281, allocations: 7.938 kB / 427.1 MB, free: 3.082 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003124/0.3284, allocations: 28.14 kB / 427.1 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.156e-05/0.3285, allocations: 19.98 kB / 427.1 MB, free: 3.035 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001446/0.3286, allocations: 141.8 kB / 427.3 MB, free: 2.887 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001492/0.3288, allocations: 19.81 kB / 427.3 MB, free: 2.867 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000468/0.3292, allocations: 190.6 kB / 427.5 MB, free: 2.672 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.3293, allocations: 7.938 kB / 427.5 MB, free: 2.664 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.3293, allocations: 4 kB / 427.5 MB, free: 2.66 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.812e-06/0.3293, allocations: 1.375 kB / 427.5 MB, free: 2.66 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001698/0.331, allocations: 0.7754 MB / 428.3 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.331, allocations: 4 kB / 428.3 MB, free: 1.809 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004319/0.3314, allocations: 79.88 kB / 428.4 MB, free: 1.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.3315, allocations: 4 kB / 428.4 MB, free: 1.727 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.91e-05/0.3315, allocations: 11.98 kB / 428.4 MB, free: 1.715 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.75e-06/0.3315, allocations: 7.938 kB / 428.4 MB, free: 1.707 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.3315, allocations: 0 / 428.4 MB, free: 1.707 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001531/0.333, allocations: 0.7213 MB / 429.1 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/0.3332, allocations: 120.9 kB / 429.2 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.073e-05/0.3332, allocations: 12.5 kB / 429.2 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003694/0.3336, allocations: 24.03 kB / 429.2 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.258e-05/0.3337, allocations: 27.91 kB / 429.3 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.249e-05/0.3337, allocations: 12.81 kB / 429.3 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.192e-05/0.3338, allocations: 110.2 kB / 429.4 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3338, allocations: 0 / 429.4 MB, free: 0.6367 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.002755/0.3366, allocations: 0.9564 MB / 430.4 MB, free: 15.68 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,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 (37): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005899/0.3425, allocations: 2.41 MB / 432.8 MB, free: 13.23 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001004/0.3435, allocations: 381.5 kB / 433.1 MB, free: 12.86 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.3435, allocations: 0 / 433.1 MB, free: 12.86 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004536/0.344, allocations: 175.7 kB / 433.3 MB, free: 12.69 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007148/0.3447, allocations: 104.3 kB / 433.4 MB, free: 12.59 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005541/0.3502, allocations: 3.224 MB / 436.6 MB, free: 9.211 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002508/0.3505, allocations: 0.7374 MB / 437.4 MB, free: 8.449 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003768/0.3509, allocations: 86.33 kB / 437.5 MB, free: 8.363 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001721/0.3511, allocations: 75.39 kB / 437.5 MB, free: 8.289 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3511, allocations: 0 / 437.5 MB, free: 8.289 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1223/0.4733, allocations: 33.08 MB / 470.6 MB, free: 7.27 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.063/9.536, allocations: 10.75 kB / 470.6 MB, free: 7.262 MB / 382.1 MB (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches