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.001264/0.001264, allocations: 115.6 kB / 20.43 MB, free: 1.465 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.001432/0.001432, allocations: 212 kB / 23.74 MB, free: 4.688 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.396/1.396, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.00149/0.00149, allocations: 47.92 kB / 377.8 MB, free: 3.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/0.2571, allocations: 53.37 MB / 431.1 MB, free: 6.887 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03419/0.2913, allocations: 26.88 MB / 458 MB, free: 11.92 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002952/0.2943, allocations: 2.27 MB / 460.3 MB, free: 9.645 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.862e-05/0.2943, allocations: 0 / 460.3 MB, free: 9.645 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003626/0.2947, allocations: 59.64 kB / 460.3 MB, free: 9.586 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00042/0.2951, allocations: 167 kB / 460.5 MB, free: 9.422 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01674/0.3118, allocations: 6.593 MB / 467.1 MB, free: 2.832 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005612/0.3124, allocations: 342.7 kB / 467.4 MB, free: 2.496 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.21e-05/0.3125, allocations: 13.75 kB / 467.4 MB, free: 2.484 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002762/0.3127, allocations: 143.5 kB / 467.6 MB, free: 2.344 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002564/0.313, allocations: 127.5 kB / 467.7 MB, free: 2.219 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.896e-05/0.313, allocations: 12 kB / 467.7 MB, free: 2.207 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01771/0.3307, allocations: 9.701 MB / 477.4 MB, free: 8.492 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001521/0.3309, allocations: 75.7 kB / 477.5 MB, free: 8.418 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001908/0.3311, allocations: 103.6 kB / 477.6 MB, free: 8.316 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01013/0.3412, allocations: 4.743 MB / 482.3 MB, free: 3.562 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3412, allocations: 0 / 482.3 MB, free: 3.562 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3412, allocations: 0 / 482.3 MB, free: 3.562 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.475e-06/0.3412, allocations: 0 / 482.3 MB, free: 3.562 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.003792/0.345, allocations: 1.102 MB / 483.4 MB, free: 2.422 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.345, allocations: 12.03 kB / 483.5 MB, free: 2.41 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.851e-05/0.3451, allocations: 62.7 kB / 483.5 MB, free: 2.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001791/0.3453, allocations: 24.03 kB / 483.5 MB, free: 2.316 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003025/0.3456, allocations: 172.8 kB / 483.7 MB, free: 2.121 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.3456, allocations: 16.33 kB / 483.7 MB, free: 2.105 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.968e-05/0.3457, allocations: 12 kB / 483.7 MB, free: 2.094 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007731/0.3465, allocations: 297.4 kB / 484 MB, free: 1.793 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.3465, allocations: 0 / 484 MB, free: 1.793 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.675e-05/0.3465, allocations: 4 kB / 484 MB, free: 1.789 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.379e-05/0.3465, allocations: 15.92 kB / 484 MB, free: 1.773 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008416/0.3474, allocations: 303.8 kB / 484.3 MB, free: 1.477 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.001615/0.349, allocations: 0.8004 MB / 485.1 MB, free: 0.6016 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007443/0.3497, allocations: 245.1 kB / 485.4 MB, free: 352 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003199/0.35, allocations: 125.6 kB / 485.5 MB, free: 220 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01161/0.3616, allocations: 2.671 MB / 488.2 MB, free: 13.54 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.608e-05/0.3617, allocations: 42.5 kB / 488.2 MB, free: 13.49 MB / 398.1 MB Notification: Performance of pre-optimization done (n=29): time 1.863e-06/0.3617, allocations: 0 / 488.2 MB, free: 13.49 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002804/0.3645, allocations: 0.7045 MB / 488.9 MB, free: 12.79 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.435e-05/0.3646, allocations: 81.11 kB / 489 MB, free: 12.69 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/0.3647, allocations: 144.4 kB / 489.1 MB, free: 12.54 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.261e-05/0.3647, allocations: 41.7 kB / 489.2 MB, free: 12.49 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.013e-05/0.3648, allocations: 116.8 kB / 489.3 MB, free: 12.38 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/0.3649, allocations: 138.8 kB / 489.4 MB, free: 12.24 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.3651, allocations: 69.64 kB / 489.5 MB, free: 12.16 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.3652, allocations: 330.8 kB / 489.8 MB, free: 11.83 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003809/0.3656, allocations: 139.8 kB / 490 MB, free: 11.7 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004823/0.3661, allocations: 207.6 kB / 490.2 MB, free: 11.46 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009448/0.367, allocations: 369.2 kB / 490.5 MB, free: 11.08 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.367, allocations: 0 / 490.5 MB, free: 11.08 MB / 398.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001165/0.3682, allocations: 427.1 kB / 490.9 MB, free: 10.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.3682, allocations: 4 kB / 490.9 MB, free: 10.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.3682, allocations: 4 kB / 490.9 MB, free: 10.65 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.291e-05/0.3682, allocations: 11.92 kB / 491 MB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004647/0.3687, allocations: 87.88 kB / 491 MB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.3687, allocations: 8.219 kB / 491.1 MB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002917/0.369, allocations: 27.92 kB / 491.1 MB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.842e-05/0.369, allocations: 19.94 kB / 491.1 MB, free: 10.5 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.0001627/0.3692, allocations: 149.6 kB / 491.2 MB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001389/0.3693, allocations: 19.91 kB / 491.3 MB, free: 10.32 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004758/0.3698, allocations: 186.8 kB / 491.4 MB, free: 10.13 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/0.3698, allocations: 8 kB / 491.5 MB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.3698, allocations: 3.938 kB / 491.5 MB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.3698, allocations: 3.984 kB / 491.5 MB, free: 10.12 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001809/0.3716, allocations: 0.7471 MB / 492.2 MB, free: 9.305 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.3716, allocations: 4 kB / 492.2 MB, free: 9.301 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004221/0.3721, allocations: 79.88 kB / 492.3 MB, free: 9.223 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.151e-06/0.3721, allocations: 4 kB / 492.3 MB, free: 9.219 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.112e-05/0.3721, allocations: 15.92 kB / 492.3 MB, free: 9.203 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.324e-06/0.3721, allocations: 8 kB / 492.3 MB, free: 9.195 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.3721, allocations: 3.938 kB / 492.3 MB, free: 9.191 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00159/0.3737, allocations: 0.727 MB / 493 MB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001268/0.3738, allocations: 47.84 kB / 493.1 MB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.622e-05/0.3739, allocations: 8 kB / 493.1 MB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003535/0.3742, allocations: 24.03 kB / 493.1 MB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.754e-05/0.3743, allocations: 35.83 kB / 493.2 MB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.351e-05/0.3743, allocations: 16 kB / 493.2 MB, free: 8.301 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.791e-05/0.3744, allocations: 109.7 kB / 493.3 MB, free: 8.195 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3744, allocations: 0 / 493.3 MB, free: 8.195 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002683/0.3771, allocations: 0.9628 MB / 494.2 MB, free: 7.23 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.006298/0.3834, allocations: 2.408 MB / 496.7 MB, free: 4.773 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001019/0.3844, allocations: 338.9 kB / 497 MB, free: 4.445 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.3844, allocations: 0 / 497 MB, free: 4.445 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004704/0.3849, allocations: 166.7 kB / 497.1 MB, free: 4.285 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007444/0.3856, allocations: 96.16 kB / 497.2 MB, free: 4.191 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006567/0.3922, allocations: 3.257 MB / 0.4888 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003981/0.3926, allocations: 0.7335 MB / 0.4895 GB, free: 16 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003559/0.393, allocations: 94.3 kB / 0.4896 GB, free: 15.92 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002038/0.3932, allocations: 71.41 kB / 0.4896 GB, free: 15.85 MB / 414.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3932, allocations: 4 kB / 0.4896 GB, free: 15.85 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07548/0.4686, allocations: 33.45 MB / 0.5223 GB, free: 14.53 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.37/12.84, allocations: 0 / 0.5223 GB, free: 14.53 MB / 446.1 MB " [Timeout remaining time 647] (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: 16.011655407957733]