Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001431/0.001431, allocations: 110.4 kB / 17.73 MB, free: 5.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 183.1 kB / 18.67 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.297/1.297, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001594/0.001594, allocations: 52.3 kB / 328 MB, free: 3.824 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08038/0.08198, allocations: 46.62 MB / 374.6 MB, free: 5.094 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.1811/0.2632, allocations: 26.58 MB / 401.2 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003186/0.2664, allocations: 2.243 MB / 403.5 MB, free: 11.73 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.443e-05/0.2665, allocations: 1.344 kB / 403.5 MB, free: 11.73 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003336/0.2669, allocations: 59 kB / 403.5 MB, free: 11.7 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004342/0.2673, allocations: 156 kB / 403.7 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01699/0.2843, allocations: 6.148 MB / 409.8 MB, free: 7.965 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005367/0.2849, allocations: 312.4 kB / 410.1 MB, free: 7.801 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.257e-05/0.2849, allocations: 12.53 kB / 410.1 MB, free: 7.797 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002161/0.2852, allocations: 138.3 kB / 410.3 MB, free: 7.727 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000251/0.2854, allocations: 119.6 kB / 410.4 MB, free: 7.66 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.993e-05/0.2855, allocations: 10.84 kB / 410.4 MB, free: 7.66 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01798/0.3034, allocations: 9.394 MB / 419.8 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001333/0.3036, allocations: 67.22 kB / 419.9 MB, free: 2.652 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001754/0.3038, allocations: 92.83 kB / 420 MB, free: 2.602 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01105/0.3149, allocations: 4.691 MB / 424.6 MB, free: 13.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3149, allocations: 3.938 kB / 424.7 MB, free: 13.92 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3149, allocations: 4 kB / 424.7 MB, free: 13.92 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.3149, allocations: 0 / 424.7 MB, free: 13.92 MB / 350.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.00309/0.318, allocations: 1.138 MB / 425.8 MB, free: 12.72 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.3181, allocations: 12.03 kB / 425.8 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.46e-05/0.3181, allocations: 50.73 kB / 425.9 MB, free: 12.65 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001444/0.3183, allocations: 32.53 kB / 425.9 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002574/0.3185, allocations: 208.5 kB / 426.1 MB, free: 12.38 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.669e-05/0.3186, allocations: 16.27 kB / 426.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.092e-05/0.3186, allocations: 16 kB / 426.1 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007658/0.3194, allocations: 289.4 kB / 426.4 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.353e-05/0.3194, allocations: 0 / 426.4 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.072e-05/0.3194, allocations: 8 kB / 426.4 MB, free: 12.05 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.782e-05/0.3195, allocations: 8 kB / 426.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008427/0.3203, allocations: 319.6 kB / 426.7 MB, free: 11.73 MB / 350.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.001503/0.3218, allocations: 0.8326 MB / 427.6 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007718/0.3226, allocations: 243.3 kB / 427.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003273/0.323, allocations: 137.9 kB / 427.9 MB, free: 10.43 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01707/0.34, allocations: 12.85 MB / 440.8 MB, free: 11.07 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.3401, allocations: 30.56 kB / 440.8 MB, free: 11.03 MB / 366.1 MB Notification: Performance of pre-optimization done (n=29): time 2.134e-06/0.3401, allocations: 0 / 440.8 MB, free: 11.03 MB / 366.1 MB Notification: Performance of matching and sorting (n=36): time 0.002889/0.343, allocations: 0.6991 MB / 441.5 MB, free: 10.32 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.626e-05/0.3431, allocations: 81.11 kB / 441.6 MB, free: 10.23 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.3432, allocations: 126.5 kB / 441.7 MB, free: 10.09 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.128e-05/0.3433, allocations: 33.7 kB / 441.8 MB, free: 10.05 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.971e-05/0.3434, allocations: 116.9 kB / 441.9 MB, free: 9.938 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001188/0.3435, allocations: 130.9 kB / 442 MB, free: 9.809 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/0.3436, allocations: 69.64 kB / 442.1 MB, free: 9.734 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.3438, allocations: 334.8 kB / 442.4 MB, free: 9.398 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004357/0.3442, allocations: 136.8 kB / 442.5 MB, free: 9.266 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005433/0.3448, allocations: 203.6 kB / 442.7 MB, free: 9.039 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009686/0.3458, allocations: 359.6 kB / 443.1 MB, free: 8.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3458, allocations: 0 / 443.1 MB, free: 8.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001212/0.347, allocations: 417.3 kB / 443.5 MB, free: 8.246 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.347, allocations: 12.22 kB / 443.5 MB, free: 8.234 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.347, allocations: 0 / 443.5 MB, free: 8.234 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.3471, allocations: 4 kB / 443.5 MB, free: 8.23 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004972/0.3476, allocations: 98.75 kB / 443.6 MB, free: 8.137 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.3476, allocations: 7.938 kB / 443.6 MB, free: 8.129 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002766/0.3479, allocations: 23.88 kB / 443.6 MB, free: 8.105 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.297e-05/0.3479, allocations: 27.92 kB / 443.6 MB, free: 8.078 MB / 366.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.0001552/0.3481, allocations: 145.8 kB / 443.8 MB, free: 7.926 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001676/0.3482, allocations: 15.91 kB / 443.8 MB, free: 7.91 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004967/0.3488, allocations: 186.6 kB / 444 MB, free: 7.723 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.3488, allocations: 11.94 kB / 444 MB, free: 7.711 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.3488, allocations: 4 kB / 444 MB, free: 7.707 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.3488, allocations: 1.547 kB / 444 MB, free: 7.707 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001765/0.3506, allocations: 0.7676 MB / 444.8 MB, free: 6.867 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/0.3506, allocations: 0 / 444.8 MB, free: 6.867 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000431/0.351, allocations: 83.97 kB / 444.9 MB, free: 6.785 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.663e-06/0.351, allocations: 8 kB / 444.9 MB, free: 6.777 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.181e-05/0.3511, allocations: 11.98 kB / 444.9 MB, free: 6.766 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.3511, allocations: 7.938 kB / 444.9 MB, free: 6.758 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-06/0.3511, allocations: 4 kB / 444.9 MB, free: 6.754 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001624/0.3527, allocations: 0.7115 MB / 445.6 MB, free: 6.012 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001371/0.3529, allocations: 117 kB / 445.7 MB, free: 5.879 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.441e-05/0.3529, allocations: 8 kB / 445.7 MB, free: 5.871 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003358/0.3533, allocations: 19.98 kB / 445.7 MB, free: 5.852 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.394e-05/0.3533, allocations: 27.91 kB / 445.8 MB, free: 5.824 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.97e-05/0.3534, allocations: 19.98 kB / 445.8 MB, free: 5.805 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.721e-05/0.3535, allocations: 100.5 kB / 445.9 MB, free: 5.707 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.3535, allocations: 0 / 445.9 MB, free: 5.707 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002574/0.3561, allocations: 0.9394 MB / 446.8 MB, free: 4.766 MB / 366.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.005883/0.362, allocations: 2.422 MB / 449.2 MB, free: 2.305 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001101/0.3631, allocations: 351.5 kB / 449.6 MB, free: 1.961 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.3631, allocations: 448 / 449.6 MB, free: 1.961 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004786/0.3636, allocations: 175.8 kB / 449.8 MB, free: 1.789 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007302/0.3643, allocations: 94.72 kB / 449.9 MB, free: 1.699 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006048/0.3704, allocations: 3.149 MB / 453 MB, free: 14.39 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004087/0.3708, allocations: 0.7332 MB / 453.7 MB, free: 13.63 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003645/0.3712, allocations: 89.97 kB / 453.8 MB, free: 13.54 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000181/0.3714, allocations: 71.41 kB / 453.9 MB, free: 13.47 MB / 382.1 MB Notification: Performance of SimCode: time 3.7e-07/0.3714, allocations: 4 kB / 453.9 MB, free: 13.47 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07129/0.4427, allocations: 33.92 MB / 487.8 MB, free: 11.43 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.175/9.618, allocations: 7.766 kB / 487.8 MB, free: 11.43 MB / 414.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_MoistAir.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches