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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008448/0.0008448, allocations: 76.36 kB / 20.67 MB, free: 3.898 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009103/0.0009103, allocations: 156.9 kB / 23.95 MB, free: 0.6172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8622/0.8622, allocations: 177 MB / 204.1 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.167e-05/1.274e-05, allocations: 3.125 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.01917/0.01918, allocations: 24.01 MB / 348.5 MB, free: 7.793 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001805/0.02099, allocations: 2.013 MB / 350.5 MB, free: 5.773 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.791e-05/0.02105, allocations: 3.938 kB / 350.5 MB, free: 5.77 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003062/0.02136, allocations: 67.53 kB / 350.6 MB, free: 5.703 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002889/0.02165, allocations: 162.9 kB / 350.8 MB, free: 5.543 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01054/0.03219, allocations: 6.577 MB / 357.3 MB, free: 14.96 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000325/0.03252, allocations: 342.4 kB / 357.7 MB, free: 14.63 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.039e-05/0.03256, allocations: 13.8 kB / 357.7 MB, free: 14.62 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001911/0.03275, allocations: 187.5 kB / 357.9 MB, free: 14.43 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001552/0.0329, allocations: 115.7 kB / 358 MB, free: 14.32 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.108e-05/0.03293, allocations: 16 kB / 358 MB, free: 14.3 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01003/0.04295, allocations: 9.009 MB / 367 MB, free: 5.281 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.412e-05/0.04305, allocations: 75.83 kB / 367.1 MB, free: 5.207 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.947e-05/0.04314, allocations: 83.77 kB / 367.2 MB, free: 5.125 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006883/0.05002, allocations: 5.893 MB / 373.1 MB, free: 15.22 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.237e-06/0.05002, allocations: 0 / 373.1 MB, free: 15.22 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.05003, allocations: 0 / 373.1 MB, free: 15.22 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.05003, allocations: 0 / 373.1 MB, free: 15.22 MB / 346.7 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.001914/0.05194, allocations: 1.098 MB / 374.2 MB, free: 14.08 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.05198, allocations: 11.98 kB / 374.2 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.785e-05/0.05203, allocations: 54.73 kB / 374.2 MB, free: 14.01 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.457e-05/0.05213, allocations: 24.03 kB / 374.2 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001925/0.05232, allocations: 160.9 kB / 374.4 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.05233, allocations: 16.33 kB / 374.4 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.165e-05/0.05236, allocations: 19.95 kB / 374.4 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004713/0.05283, allocations: 400.2 kB / 374.8 MB, free: 13.34 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.05285, allocations: 0 / 374.8 MB, free: 13.34 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.984e-05/0.05287, allocations: 4 kB / 374.8 MB, free: 13.34 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.724e-05/0.05288, allocations: 8 kB / 374.8 MB, free: 13.33 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004321/0.05332, allocations: 307.8 kB / 375.1 MB, free: 13.03 MB / 346.7 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.0008997/0.05422, allocations: 0.6941 MB / 375.8 MB, free: 12.28 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004112/0.05463, allocations: 249.1 kB / 376.1 MB, free: 12.02 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001687/0.0548, allocations: 129.6 kB / 376.2 MB, free: 11.88 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005/0.0598, allocations: 2.686 MB / 378.9 MB, free: 9.195 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/0.05982, allocations: 34.56 kB / 378.9 MB, free: 9.152 MB / 346.7 MB Notification: Performance of pre-optimization done (n=29): time 1.142e-06/0.05982, allocations: 0 / 378.9 MB, free: 9.152 MB / 346.7 MB Notification: Performance of matching and sorting (n=36): time 0.001492/0.06131, allocations: 0.7103 MB / 379.6 MB, free: 8.438 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.604e-05/0.06135, allocations: 81.11 kB / 379.7 MB, free: 8.34 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.022e-05/0.06144, allocations: 152.8 kB / 379.9 MB, free: 8.184 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/0.06146, allocations: 33.7 kB / 379.9 MB, free: 8.145 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.175e-05/0.06152, allocations: 108.9 kB / 380 MB, free: 8.035 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.123e-05/0.06159, allocations: 126.9 kB / 380.1 MB, free: 7.91 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.035e-05/0.06167, allocations: 73.59 kB / 380.2 MB, free: 7.832 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.355e-05/0.06175, allocations: 334.8 kB / 380.5 MB, free: 7.496 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002104/0.06196, allocations: 135.9 kB / 380.7 MB, free: 7.363 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002685/0.06223, allocations: 207.5 kB / 380.9 MB, free: 7.133 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005419/0.06277, allocations: 362.5 kB / 381.2 MB, free: 6.754 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.06277, allocations: 0 / 381.2 MB, free: 6.754 MB / 346.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006381/0.06341, allocations: 420.7 kB / 381.6 MB, free: 6.34 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.06343, allocations: 11.94 kB / 381.6 MB, free: 6.328 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.06343, allocations: 0 / 381.6 MB, free: 6.328 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.06344, allocations: 4.219 kB / 381.6 MB, free: 6.324 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002267/0.06367, allocations: 99.86 kB / 381.7 MB, free: 6.227 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.06368, allocations: 7.938 kB / 381.7 MB, free: 6.219 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000129/0.06381, allocations: 31.81 kB / 381.8 MB, free: 6.188 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.477e-05/0.06383, allocations: 19.98 kB / 381.8 MB, free: 6.168 MB / 346.7 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 9.952e-05/0.06393, allocations: 141.7 kB / 381.9 MB, free: 6.02 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.209e-05/0.064, allocations: 19.91 kB / 382 MB, free: 6 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002798/0.06428, allocations: 190.8 kB / 382.1 MB, free: 5.801 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.06429, allocations: 4 kB / 382.1 MB, free: 5.797 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.06429, allocations: 11.92 kB / 382.2 MB, free: 5.785 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.0643, allocations: 0 / 382.2 MB, free: 5.785 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009802/0.06528, allocations: 0.7198 MB / 382.9 MB, free: 5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.06528, allocations: 160 / 382.9 MB, free: 5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002023/0.06548, allocations: 83.88 kB / 383 MB, free: 4.918 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.06549, allocations: 0 / 383 MB, free: 4.918 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.052e-05/0.06551, allocations: 12 kB / 383 MB, free: 4.906 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.06551, allocations: 3.984 kB / 383 MB, free: 4.902 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.06551, allocations: 4 kB / 383 MB, free: 4.898 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000867/0.06638, allocations: 0.7107 MB / 383.7 MB, free: 4.152 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.057e-05/0.06645, allocations: 51.83 kB / 383.7 MB, free: 4.102 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.209e-05/0.06648, allocations: 8 kB / 383.7 MB, free: 4.094 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/0.06665, allocations: 28.05 kB / 383.8 MB, free: 4.066 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.051e-05/0.06668, allocations: 27.83 kB / 383.8 MB, free: 4.039 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.236e-05/0.0667, allocations: 19.98 kB / 383.8 MB, free: 4.02 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.08e-05/0.06675, allocations: 111.2 kB / 383.9 MB, free: 3.91 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.06675, allocations: 0 / 383.9 MB, free: 3.91 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001657/0.06841, allocations: 0.9666 MB / 384.9 MB, free: 2.941 MB / 346.7 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.003664/0.07207, allocations: 2.544 MB / 387.4 MB, free: 364 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005502/0.07262, allocations: 331.8 kB / 387.8 MB, free: 32 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.07262, allocations: 4 kB / 387.8 MB, free: 28 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002566/0.07288, allocations: 171.7 kB / 387.9 MB, free: 15.86 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004383/0.07332, allocations: 103 kB / 388 MB, free: 15.76 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003331/0.07665, allocations: 3.185 MB / 391.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.14e-05/0.07674, allocations: 137.8 kB / 391.4 MB, free: 12.26 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002031/0.07694, allocations: 90.36 kB / 391.4 MB, free: 12.17 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001276/0.07707, allocations: 72.47 kB / 391.5 MB, free: 12.1 MB / 362.7 MB Notification: Performance of SimCode: time 6.61e-07/0.07707, allocations: 4 kB / 391.5 MB, free: 12.09 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04391/0.121, allocations: 34.37 MB / 425.9 MB, free: 9.855 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.686/7.807, allocations: 4.062 kB / 425.9 MB, free: 9.852 MB / 394.7 MB " [Timeout remaining time 652] (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 --stepSize=0.00019992 --timeout=50 --tolerance=1e-05 Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.967154072597623]