Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001557/0.001557, allocations: 119.8 kB / 17.74 MB, free: 5.301 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001786/0.001786, allocations: 185.3 kB / 20.67 MB, free: 2.375 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 222.9 MB / 246.4 MB, free: 4.227 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 47.92 kB / 357.5 MB, free: 8.863 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09084/0.09235, allocations: 49.43 MB / 406.9 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.2149/0.3073, allocations: 26.42 MB / 433.3 MB, free: 3.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002482/0.3098, allocations: 2.225 MB / 435.6 MB, free: 3.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.571e-05/0.3099, allocations: 2.844 kB / 435.6 MB, free: 3.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003648/0.3103, allocations: 66.39 kB / 435.6 MB, free: 3.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004049/0.3107, allocations: 155.5 kB / 435.8 MB, free: 3.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01576/0.3265, allocations: 6.506 MB / 442.3 MB, free: 3.406 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005041/0.327, allocations: 310.5 kB / 442.6 MB, free: 3.352 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.573e-05/0.3271, allocations: 13.38 kB / 442.6 MB, free: 3.348 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002211/0.3273, allocations: 138.5 kB / 442.7 MB, free: 3.332 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002175/0.3275, allocations: 119.9 kB / 442.9 MB, free: 3.316 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.329e-05/0.3276, allocations: 11.03 kB / 442.9 MB, free: 3.316 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01814/0.3457, allocations: 9.513 MB / 452.4 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001647/0.3459, allocations: 65.66 kB / 452.5 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001727/0.3461, allocations: 90.94 kB / 452.5 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01304/0.3592, allocations: 4.711 MB / 457.3 MB, free: 392 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/0.3592, allocations: 0 / 457.3 MB, free: 392 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3592, allocations: 0 / 457.3 MB, free: 392 kB / 350.1 MB Notification: Performance of Transformations before backend: time 7.494e-06/0.3593, allocations: 1.031 kB / 457.3 MB, free: 392 kB / 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.004776/0.364, allocations: 1.151 MB / 458.4 MB, free: 15.55 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.518e-05/0.3641, allocations: 10.75 kB / 458.4 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8e-05/0.3642, allocations: 50.73 kB / 458.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001614/0.3644, allocations: 27.59 kB / 458.5 MB, free: 15.49 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002953/0.3647, allocations: 214 kB / 458.7 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.3647, allocations: 19.23 kB / 458.7 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.119e-05/0.3647, allocations: 16.56 kB / 458.7 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006966/0.3654, allocations: 282.3 kB / 459 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.3655, allocations: 0 / 459 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.864e-05/0.3655, allocations: 11.84 kB / 459 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.794e-05/0.3655, allocations: 5.719 kB / 459 MB, free: 15.15 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007522/0.3663, allocations: 311.5 kB / 459.3 MB, free: 15.08 MB / 366.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.001508/0.3678, allocations: 0.832 MB / 460.2 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006979/0.3685, allocations: 256.8 kB / 460.4 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003024/0.3688, allocations: 130 kB / 460.5 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01744/0.3863, allocations: 12.85 MB / 473.4 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.161e-05/0.3864, allocations: 36.25 kB / 473.4 MB, free: 0.582 MB / 366.1 MB Notification: Performance of pre-optimization done (n=29): time 2.485e-06/0.3864, allocations: 3.938 kB / 473.4 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of matching and sorting (n=36): time 0.002869/0.3893, allocations: 0.6884 MB / 474.1 MB, free: 400 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.896e-05/0.3894, allocations: 88.17 kB / 474.2 MB, free: 296 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.3895, allocations: 135.9 kB / 474.3 MB, free: 180 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.789e-05/0.3895, allocations: 29.2 kB / 474.4 MB, free: 148 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001392/0.3897, allocations: 109 kB / 474.5 MB, free: 40 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001309/0.3898, allocations: 130 kB / 474.6 MB, free: 15.94 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001293/0.39, allocations: 66.69 kB / 474.7 MB, free: 15.92 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001829/0.3902, allocations: 337.8 kB / 475 MB, free: 15.6 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003951/0.3906, allocations: 141.7 kB / 475.1 MB, free: 15.53 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005/0.3911, allocations: 204.9 kB / 475.3 MB, free: 15.38 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00094/0.392, allocations: 368.5 kB / 475.7 MB, free: 15.15 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.392, allocations: 0 / 475.7 MB, free: 15.15 MB / 382.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001153/0.3932, allocations: 415 kB / 476.1 MB, free: 14.94 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.3932, allocations: 6.219 kB / 476.1 MB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.3932, allocations: 6.219 kB / 476.1 MB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.3933, allocations: 6.969 kB / 476.1 MB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004598/0.3937, allocations: 88.78 kB / 476.2 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.537e-05/0.3938, allocations: 12.75 kB / 476.2 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003001/0.3941, allocations: 26.16 kB / 476.2 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.139e-05/0.3941, allocations: 16.53 kB / 476.3 MB, free: 14.89 MB / 382.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.0001671/0.3943, allocations: 140.7 kB / 476.4 MB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001381/0.3944, allocations: 25.14 kB / 476.4 MB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004983/0.3949, allocations: 186.6 kB / 476.6 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/0.395, allocations: 6.531 kB / 476.6 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.395, allocations: 5.719 kB / 476.6 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.395, allocations: 3.938 kB / 476.6 MB, free: 14.61 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001737/0.3967, allocations: 0.7691 MB / 477.4 MB, free: 13.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.3968, allocations: 2.906 kB / 477.4 MB, free: 13.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004082/0.3972, allocations: 80.06 kB / 477.5 MB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.062e-06/0.3972, allocations: 2.797 kB / 477.5 MB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.506e-05/0.3972, allocations: 18.2 kB / 477.5 MB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.3972, allocations: 2.344 kB / 477.5 MB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.3972, allocations: 2.031 kB / 477.5 MB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001641/0.3989, allocations: 0.7092 MB / 478.2 MB, free: 13.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001528/0.3991, allocations: 121 kB / 478.3 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.858e-05/0.3991, allocations: 8 kB / 478.3 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003477/0.3995, allocations: 23.91 kB / 478.3 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.055e-05/0.3995, allocations: 32.97 kB / 478.4 MB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.913e-05/0.3996, allocations: 16 kB / 478.4 MB, free: 13.04 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.054e-05/0.3997, allocations: 99.64 kB / 478.5 MB, free: 12.94 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3997, allocations: 4.062 kB / 478.5 MB, free: 12.94 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003293/0.403, allocations: 0.955 MB / 479.5 MB, free: 11.98 MB / 382.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.007609/0.4106, allocations: 2.386 MB / 481.8 MB, free: 9.656 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001203/0.4118, allocations: 351.3 kB / 482.2 MB, free: 9.312 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.335e-06/0.4119, allocations: 4 kB / 482.2 MB, free: 9.309 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005105/0.4124, allocations: 178.5 kB / 482.4 MB, free: 9.137 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007681/0.4132, allocations: 94.5 kB / 482.5 MB, free: 9.047 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007327/0.4205, allocations: 3.161 MB / 485.6 MB, free: 5.738 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004089/0.421, allocations: 0.7371 MB / 486.4 MB, free: 4.973 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003929/0.4214, allocations: 86.02 kB / 486.4 MB, free: 4.895 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001971/0.4216, allocations: 75.41 kB / 486.5 MB, free: 4.82 MB / 382.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4216, allocations: 0 / 486.5 MB, free: 4.82 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07279/0.4944, allocations: 32.52 MB / 0.5069 GB, free: 4.398 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.574/10.07, allocations: 6.047 kB / 0.5069 GB, free: 4.398 MB / 414.1 MB " [Timeout remaining time 650] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 12.9158508379478]