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.001487/0.001487, allocations: 109.1 kB / 21.22 MB, free: 0.7344 MB / 14.72 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.001601/0.001601, allocations: 211 kB / 24.53 MB, free: 4.07 MB / 14.72 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 1.362/1.362, allocations: 230.5 MB / 258.2 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001824/0.001824, allocations: 59.91 kB / 378.6 MB, free: 3.004 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2174/0.2193, allocations: 53.4 MB / 432 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.0326/0.2518, allocations: 26.89 MB / 458.8 MB, free: 11.71 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002944/0.2548, allocations: 2.259 MB / 461.1 MB, free: 9.445 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.206e-05/0.2549, allocations: 0 / 461.1 MB, free: 9.445 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003284/0.2552, allocations: 63.64 kB / 461.2 MB, free: 9.383 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003899/0.2556, allocations: 171 kB / 461.3 MB, free: 9.215 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01537/0.271, allocations: 6.59 MB / 467.9 MB, free: 2.625 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005039/0.2715, allocations: 342.7 kB / 468.3 MB, free: 2.289 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.593e-05/0.2715, allocations: 9.75 kB / 468.3 MB, free: 2.281 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002399/0.2718, allocations: 143.5 kB / 468.4 MB, free: 2.141 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002308/0.272, allocations: 131.5 kB / 468.5 MB, free: 2.012 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.933e-05/0.272, allocations: 15.94 kB / 468.6 MB, free: 1.996 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01649/0.2885, allocations: 9.712 MB / 478.3 MB, free: 8.273 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001345/0.2886, allocations: 63.8 kB / 478.3 MB, free: 8.211 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001595/0.2888, allocations: 103.6 kB / 478.4 MB, free: 8.109 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01012/0.2989, allocations: 4.747 MB / 483.2 MB, free: 3.352 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.2989, allocations: 0 / 483.2 MB, free: 3.352 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.2989, allocations: 0 / 483.2 MB, free: 3.352 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.473e-06/0.2989, allocations: 0 / 483.2 MB, free: 3.352 MB / 382.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.003055/0.302, allocations: 1.105 MB / 484.3 MB, free: 2.207 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.302, allocations: 16.03 kB / 484.3 MB, free: 2.191 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.769e-05/0.302, allocations: 8.453 kB / 484.3 MB, free: 2.184 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.434e-05/0.3021, allocations: 46.73 kB / 484.4 MB, free: 2.129 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001402/0.3022, allocations: 23.84 kB / 484.4 MB, free: 2.105 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002297/0.3025, allocations: 164.9 kB / 484.5 MB, free: 1.918 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.3025, allocations: 16.27 kB / 484.6 MB, free: 1.902 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.866e-05/0.3025, allocations: 23.89 kB / 484.6 MB, free: 1.879 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007043/0.3032, allocations: 293.4 kB / 484.9 MB, free: 1.582 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.3033, allocations: 0 / 484.9 MB, free: 1.582 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.946e-05/0.3033, allocations: 7.938 kB / 484.9 MB, free: 1.574 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.916e-05/0.3033, allocations: 8 kB / 484.9 MB, free: 1.566 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007629/0.3041, allocations: 315.7 kB / 485.2 MB, free: 1.258 MB / 382.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.001407/0.3055, allocations: 0.7927 MB / 486 MB, free: 400 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007037/0.3062, allocations: 249.1 kB / 486.2 MB, free: 132 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003025/0.3065, allocations: 125.6 kB / 486.3 MB, free: 0 / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01077/0.3172, allocations: 2.671 MB / 489 MB, free: 13.33 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.103e-05/0.3173, allocations: 42.56 kB / 489.1 MB, free: 13.28 MB / 398.1 MB Notification: Performance of pre-optimization done (n=29): time 1.784e-06/0.3173, allocations: 0 / 489.1 MB, free: 13.28 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002807/0.3201, allocations: 0.7064 MB / 489.8 MB, free: 12.57 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.369e-05/0.3202, allocations: 85.05 kB / 489.8 MB, free: 12.47 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.3203, allocations: 144.6 kB / 490 MB, free: 12.32 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.578e-05/0.3203, allocations: 33.7 kB / 490 MB, free: 12.28 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.353e-05/0.3204, allocations: 112.9 kB / 490.1 MB, free: 12.17 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001182/0.3205, allocations: 134.8 kB / 490.3 MB, free: 12.04 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001311/0.3207, allocations: 77.62 kB / 490.3 MB, free: 11.95 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.3208, allocations: 334.8 kB / 490.7 MB, free: 11.62 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003982/0.3212, allocations: 139.8 kB / 490.8 MB, free: 11.48 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005037/0.3217, allocations: 203.6 kB / 491 MB, free: 11.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009546/0.3226, allocations: 358.9 kB / 491.4 MB, free: 10.88 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3227, allocations: 0 / 491.4 MB, free: 10.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001221/0.3239, allocations: 432.1 kB / 491.8 MB, free: 10.45 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.3239, allocations: 8 kB / 491.8 MB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/0.3239, allocations: 3.938 kB / 491.8 MB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.07e-05/0.3239, allocations: 4 kB / 491.8 MB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004882/0.3244, allocations: 92.09 kB / 491.9 MB, free: 10.35 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.616e-05/0.3244, allocations: 7.938 kB / 491.9 MB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003121/0.3247, allocations: 19.98 kB / 491.9 MB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.148e-05/0.3248, allocations: 19.98 kB / 491.9 MB, free: 10.3 MB / 398.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.0001883/0.325, allocations: 145.7 kB / 492.1 MB, free: 10.15 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001513/0.3251, allocations: 23.86 kB / 492.1 MB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004924/0.3256, allocations: 194.7 kB / 492.3 MB, free: 9.926 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.3256, allocations: 4 kB / 492.3 MB, free: 9.922 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.106e-06/0.3256, allocations: 4 kB / 492.3 MB, free: 9.918 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.3256, allocations: 0 / 492.3 MB, free: 9.918 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001791/0.3274, allocations: 0.7572 MB / 493 MB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.3274, allocations: 7.938 kB / 493.1 MB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004204/0.3279, allocations: 79.88 kB / 493.1 MB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.037e-06/0.3279, allocations: 4 kB / 493.1 MB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.44e-05/0.3279, allocations: 11.98 kB / 493.1 MB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.873e-06/0.3279, allocations: 7.938 kB / 493.2 MB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.3279, allocations: 0 / 493.2 MB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001618/0.3295, allocations: 0.7225 MB / 493.9 MB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001213/0.3297, allocations: 43.89 kB / 493.9 MB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.172e-05/0.3297, allocations: 12 kB / 493.9 MB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003469/0.3301, allocations: 23.98 kB / 494 MB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.48e-05/0.3301, allocations: 31.89 kB / 494 MB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.775e-05/0.3301, allocations: 15.98 kB / 494 MB, free: 8.105 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.786e-05/0.3302, allocations: 114 kB / 494.1 MB, free: 7.996 MB / 398.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3302, allocations: 0 / 494.1 MB, free: 7.996 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002592/0.3328, allocations: 0.9589 MB / 495.1 MB, free: 7.035 MB / 398.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.006218/0.339, allocations: 2.412 MB / 497.5 MB, free: 4.574 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001072/0.3401, allocations: 335.6 kB / 497.8 MB, free: 4.25 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.3401, allocations: 7.938 kB / 497.8 MB, free: 4.242 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004945/0.3406, allocations: 159.8 kB / 498 MB, free: 4.086 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007624/0.3414, allocations: 108.1 kB / 498.1 MB, free: 3.98 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006488/0.3479, allocations: 3.249 MB / 0.4896 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004131/0.3483, allocations: 0.7413 MB / 0.4903 GB, free: 15.8 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003604/0.3486, allocations: 86.33 kB / 0.4904 GB, free: 15.72 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002129/0.3488, allocations: 79.39 kB / 0.4905 GB, free: 15.64 MB / 414.1 MB Notification: Performance of SimCode: time 6.92e-07/0.3488, allocations: 7.938 kB / 0.4905 GB, free: 15.63 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06529/0.4141, allocations: 33.48 MB / 0.5232 GB, free: 14.25 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.12/12.53, allocations: 4.062 kB / 0.5232 GB, free: 14.25 MB / 446.1 MB " [Timeout remaining time 647] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.56894593499601]