Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 204 kB / 23.73 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.403/1.403, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 47.92 kB / 377.7 MB, free: 2.969 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2542/0.2557, allocations: 53.37 MB / 431.1 MB, free: 6.617 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03178/0.2875, allocations: 24.03 MB / 455.1 MB, free: 14.51 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002841/0.2903, allocations: 2.01 MB / 457.1 MB, free: 12.49 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.388e-05/0.2904, allocations: 4 kB / 457.1 MB, free: 12.49 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003681/0.2907, allocations: 59.66 kB / 457.2 MB, free: 12.43 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004115/0.2912, allocations: 163 kB / 457.3 MB, free: 12.27 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01633/0.3075, allocations: 6.502 MB / 463.8 MB, free: 5.766 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005079/0.308, allocations: 346.7 kB / 464.2 MB, free: 5.426 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.161e-05/0.3081, allocations: 5.75 kB / 464.2 MB, free: 5.422 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002335/0.3083, allocations: 147.5 kB / 464.3 MB, free: 5.277 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002495/0.3085, allocations: 131.5 kB / 464.5 MB, free: 5.148 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.854e-05/0.3086, allocations: 12 kB / 464.5 MB, free: 5.137 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01632/0.3249, allocations: 9.302 MB / 473.8 MB, free: 11.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001368/0.325, allocations: 67.8 kB / 473.8 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001603/0.3252, allocations: 95.64 kB / 473.9 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01049/0.3357, allocations: 4.685 MB / 478.6 MB, free: 6.969 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.3357, allocations: 0 / 478.6 MB, free: 6.969 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.547e-06/0.3357, allocations: 4 kB / 478.6 MB, free: 6.965 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.3357, allocations: 0 / 478.6 MB, free: 6.965 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.003432/0.3391, allocations: 1.098 MB / 479.7 MB, free: 5.828 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.3392, allocations: 12.03 kB / 479.7 MB, free: 5.816 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.153e-05/0.3392, allocations: 50.73 kB / 479.8 MB, free: 5.758 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001539/0.3394, allocations: 24.03 kB / 479.8 MB, free: 5.734 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002915/0.3397, allocations: 172.9 kB / 480 MB, free: 5.539 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.864e-05/0.3397, allocations: 8.328 kB / 480 MB, free: 5.531 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.284e-05/0.3398, allocations: 23.94 kB / 480 MB, free: 5.508 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008118/0.3406, allocations: 392.2 kB / 480.4 MB, free: 5.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.3406, allocations: 0 / 480.4 MB, free: 5.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.631e-05/0.3406, allocations: 8 kB / 480.4 MB, free: 5.082 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.42e-05/0.3406, allocations: 11.88 kB / 480.4 MB, free: 5.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000791/0.3414, allocations: 311.8 kB / 480.7 MB, free: 4.766 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.001445/0.3429, allocations: 0.694 MB / 481.4 MB, free: 4.016 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007167/0.3436, allocations: 233.2 kB / 481.6 MB, free: 3.77 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003227/0.3439, allocations: 129.6 kB / 481.8 MB, free: 3.637 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01192/0.3558, allocations: 2.69 MB / 484.4 MB, free: 0.9453 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.258e-05/0.3559, allocations: 38.56 kB / 484.5 MB, free: 0.8984 MB / 382.1 MB Notification: Performance of pre-optimization done (n=29): time 2.935e-06/0.3559, allocations: 0 / 484.5 MB, free: 0.8984 MB / 382.1 MB Notification: Performance of matching and sorting (n=36): time 0.002918/0.3588, allocations: 0.7106 MB / 485.2 MB, free: 188 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.438e-05/0.3589, allocations: 81.11 kB / 485.3 MB, free: 88 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.359, allocations: 148 kB / 485.4 MB, free: 15.93 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.834e-05/0.3591, allocations: 29.7 kB / 485.5 MB, free: 15.9 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.013e-05/0.3592, allocations: 112.9 kB / 485.6 MB, free: 15.79 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/0.3593, allocations: 130.9 kB / 485.7 MB, free: 15.66 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/0.3594, allocations: 77.59 kB / 485.8 MB, free: 15.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.3595, allocations: 334.8 kB / 486.1 MB, free: 15.24 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003889/0.3599, allocations: 135.9 kB / 486.2 MB, free: 15.11 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004826/0.3604, allocations: 211.6 kB / 486.4 MB, free: 14.87 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009016/0.3613, allocations: 361.5 kB / 486.8 MB, free: 14.5 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.3613, allocations: 4 kB / 486.8 MB, free: 14.49 MB / 398.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00115/0.3625, allocations: 417.2 kB / 487.2 MB, free: 14.08 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.3625, allocations: 8.219 kB / 487.2 MB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.3625, allocations: 4 kB / 487.2 MB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/0.3625, allocations: 7.938 kB / 487.2 MB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005058/0.363, allocations: 103.8 kB / 487.3 MB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/0.363, allocations: 4 kB / 487.3 MB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003153/0.3633, allocations: 27.88 kB / 487.3 MB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.373e-05/0.3634, allocations: 23.92 kB / 487.4 MB, free: 13.9 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.0001568/0.3635, allocations: 137.8 kB / 487.5 MB, free: 13.76 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001417/0.3637, allocations: 23.91 kB / 487.5 MB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004804/0.3642, allocations: 194.6 kB / 487.7 MB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.3642, allocations: 4 kB / 487.7 MB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.3642, allocations: 3.984 kB / 487.7 MB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.3642, allocations: 4 kB / 487.7 MB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001753/0.3659, allocations: 0.7236 MB / 488.5 MB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.3659, allocations: 0 / 488.5 MB, free: 12.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004434/0.3664, allocations: 83.88 kB / 488.5 MB, free: 12.65 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.3664, allocations: 0 / 488.5 MB, free: 12.65 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.128e-05/0.3664, allocations: 12 kB / 488.5 MB, free: 12.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.967e-06/0.3664, allocations: 7.984 kB / 488.6 MB, free: 12.63 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3664, allocations: 0 / 488.6 MB, free: 12.63 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001553/0.368, allocations: 0.7153 MB / 489.3 MB, free: 11.88 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001305/0.3681, allocations: 51.8 kB / 489.3 MB, free: 11.83 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.836e-05/0.3682, allocations: 8 kB / 489.3 MB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003705/0.3685, allocations: 24.05 kB / 489.4 MB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.071e-05/0.3686, allocations: 27.89 kB / 489.4 MB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.878e-05/0.3686, allocations: 15.98 kB / 489.4 MB, free: 11.76 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.803e-05/0.3687, allocations: 114 kB / 489.5 MB, free: 11.65 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3687, allocations: 0 / 489.5 MB, free: 11.65 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002549/0.3712, allocations: 0.9666 MB / 490.5 MB, free: 10.68 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.005969/0.3772, allocations: 2.416 MB / 492.9 MB, free: 8.215 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001047/0.3783, allocations: 328 kB / 493.2 MB, free: 7.895 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.3783, allocations: 0 / 493.2 MB, free: 7.895 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004735/0.3787, allocations: 174.5 kB / 493.4 MB, free: 7.727 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000762/0.3795, allocations: 107.1 kB / 493.5 MB, free: 7.625 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006236/0.3857, allocations: 3.246 MB / 496.7 MB, free: 4.219 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001457/0.3859, allocations: 137.8 kB / 496.9 MB, free: 4.062 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003525/0.3862, allocations: 86.38 kB / 496.9 MB, free: 3.98 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002128/0.3865, allocations: 75.39 kB / 497 MB, free: 3.906 MB / 398.1 MB Notification: Performance of SimCode: time 1.202e-06/0.3865, allocations: 0 / 497 MB, free: 3.906 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0732/0.4597, allocations: 34.22 MB / 0.5188 GB, free: 1.871 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.82/12.28, allocations: 0 / 0.5188 GB, free: 1.871 MB / 430.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-05 Modelica_4_1_0_Modelica_Media_Examples_ReferenceAir_MoistAir.fmu > Modelica_4.1.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 15.38802069198573]