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.001458/0.001458, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.001692/0.001692, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.432/1.432, allocations: 230.6 MB / 257.5 MB, free: 8.027 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.001561/0.001561, allocations: 51.92 kB / 377.8 MB, free: 3.137 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2313/0.2328, allocations: 53.36 MB / 431.1 MB, free: 6.867 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir): time 0.03547/0.2683, allocations: 26.89 MB / 458 MB, free: 11.89 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003517/0.2718, allocations: 2.255 MB / 460.3 MB, free: 9.625 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001371/0.2719, allocations: 0 / 460.3 MB, free: 9.625 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004702/0.2724, allocations: 63.64 kB / 460.3 MB, free: 9.562 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005478/0.2729, allocations: 167 kB / 460.5 MB, free: 9.398 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01723/0.2902, allocations: 6.592 MB / 467.1 MB, free: 2.809 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005287/0.2907, allocations: 334.7 kB / 467.4 MB, free: 2.48 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.943e-05/0.2908, allocations: 9.75 kB / 467.4 MB, free: 2.473 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002358/0.291, allocations: 143.5 kB / 467.6 MB, free: 2.332 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002494/0.2912, allocations: 135.5 kB / 467.7 MB, free: 2.199 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.037e-05/0.2913, allocations: 12 kB / 467.7 MB, free: 2.188 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01747/0.3087, allocations: 9.711 MB / 477.4 MB, free: 8.465 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000137/0.3089, allocations: 71.78 kB / 477.5 MB, free: 8.395 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001676/0.3091, allocations: 103.6 kB / 477.6 MB, free: 8.293 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01123/0.3203, allocations: 4.747 MB / 482.3 MB, free: 3.535 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.3203, allocations: 0 / 482.3 MB, free: 3.535 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3203, allocations: 0 / 482.3 MB, free: 3.535 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.462e-05/0.3203, allocations: 0 / 482.3 MB, free: 3.535 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.003376/0.3237, allocations: 1.102 MB / 483.4 MB, free: 2.395 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.3237, allocations: 12.03 kB / 483.5 MB, free: 2.383 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.222e-05/0.3238, allocations: 50.73 kB / 483.5 MB, free: 2.324 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001521/0.3239, allocations: 32.03 kB / 483.5 MB, free: 2.293 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000282/0.3242, allocations: 171.5 kB / 483.7 MB, free: 2.102 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.874e-05/0.3242, allocations: 12.27 kB / 483.7 MB, free: 2.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.818e-05/0.3243, allocations: 23.95 kB / 483.7 MB, free: 2.066 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007333/0.325, allocations: 281.4 kB / 484 MB, free: 1.781 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.325, allocations: 4 kB / 484 MB, free: 1.777 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.362e-05/0.3251, allocations: 12 kB / 484 MB, free: 1.766 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.114e-05/0.3251, allocations: 11.92 kB / 484 MB, free: 1.754 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008167/0.3259, allocations: 315.6 kB / 484.4 MB, free: 1.445 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.001535/0.3275, allocations: 0.7926 MB / 485.1 MB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007327/0.3282, allocations: 249.1 kB / 485.4 MB, free: 324 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003159/0.3285, allocations: 129.6 kB / 485.5 MB, free: 188 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01177/0.3403, allocations: 2.667 MB / 488.2 MB, free: 13.52 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.458e-05/0.3403, allocations: 38.56 kB / 488.2 MB, free: 13.47 MB / 398.1 MB Notification: Performance of pre-optimization done (n=29): time 2.464e-06/0.3403, allocations: 7.938 kB / 488.2 MB, free: 13.46 MB / 398.1 MB Notification: Performance of matching and sorting (n=36): time 0.002909/0.3432, allocations: 0.6959 MB / 488.9 MB, free: 12.76 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.994e-05/0.3433, allocations: 81.11 kB / 489 MB, free: 12.66 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.3434, allocations: 144.6 kB / 489.1 MB, free: 12.51 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.8e-05/0.3435, allocations: 29.7 kB / 489.2 MB, free: 12.48 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.129e-05/0.3436, allocations: 120.9 kB / 489.3 MB, free: 12.36 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/0.3437, allocations: 138.8 kB / 489.4 MB, free: 12.22 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001266/0.3438, allocations: 73.64 kB / 489.5 MB, free: 12.14 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.3439, allocations: 334.7 kB / 489.8 MB, free: 11.8 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003867/0.3443, allocations: 135.9 kB / 490 MB, free: 11.67 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005034/0.3448, allocations: 211.6 kB / 490.2 MB, free: 11.44 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009809/0.3458, allocations: 362.8 kB / 490.5 MB, free: 11.06 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.03e-05/0.3458, allocations: 4 kB / 490.5 MB, free: 11.05 MB / 398.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001204/0.347, allocations: 421.1 kB / 490.9 MB, free: 10.64 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.3471, allocations: 11.12 kB / 490.9 MB, free: 10.63 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.3471, allocations: 0 / 490.9 MB, free: 10.63 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.289e-05/0.3471, allocations: 7.938 kB / 491 MB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005096/0.3476, allocations: 91.88 kB / 491 MB, free: 10.53 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.306e-05/0.3476, allocations: 8.156 kB / 491 MB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003172/0.3479, allocations: 27.97 kB / 491.1 MB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.118e-05/0.348, allocations: 16 kB / 491.1 MB, free: 10.48 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.0001766/0.3481, allocations: 145.7 kB / 491.2 MB, free: 10.33 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001542/0.3483, allocations: 23.86 kB / 491.3 MB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005185/0.3488, allocations: 189.7 kB / 491.4 MB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.3488, allocations: 4 kB / 491.4 MB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.3488, allocations: 3.984 kB / 491.5 MB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/0.3488, allocations: 3.984 kB / 491.5 MB, free: 10.1 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001825/0.3507, allocations: 0.7549 MB / 492.2 MB, free: 9.281 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.3507, allocations: 0 / 492.2 MB, free: 9.281 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000441/0.3511, allocations: 79.88 kB / 492.3 MB, free: 9.203 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.508e-06/0.3511, allocations: 4 kB / 492.3 MB, free: 9.199 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.166e-05/0.3511, allocations: 15.92 kB / 492.3 MB, free: 9.184 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.869e-06/0.3512, allocations: 11.94 kB / 492.3 MB, free: 9.172 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.3512, allocations: 7.984 kB / 492.3 MB, free: 9.164 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001633/0.3528, allocations: 0.723 MB / 493 MB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000141/0.3529, allocations: 43.89 kB / 493.1 MB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.689e-05/0.353, allocations: 11.94 kB / 493.1 MB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003725/0.3534, allocations: 28.03 kB / 493.1 MB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.438e-05/0.3534, allocations: 27.89 kB / 493.2 MB, free: 8.297 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.783e-05/0.3534, allocations: 16 kB / 493.2 MB, free: 8.281 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.515e-05/0.3535, allocations: 114.1 kB / 493.3 MB, free: 8.172 MB / 398.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3535, allocations: 0 / 493.3 MB, free: 8.172 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002612/0.3562, allocations: 0.9628 MB / 494.2 MB, free: 7.207 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.006184/0.3623, allocations: 2.4 MB / 496.6 MB, free: 4.758 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001089/0.3634, allocations: 342 kB / 497 MB, free: 4.43 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/0.3634, allocations: 0 / 497 MB, free: 4.43 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004773/0.3639, allocations: 175.7 kB / 497.2 MB, free: 4.258 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000755/0.3647, allocations: 92.22 kB / 497.2 MB, free: 4.168 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006394/0.3711, allocations: 3.256 MB / 0.4888 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003938/0.3715, allocations: 0.7413 MB / 0.4895 GB, free: 15.99 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003637/0.3718, allocations: 86.38 kB / 0.4896 GB, free: 15.9 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001986/0.372, allocations: 75.34 kB / 0.4896 GB, free: 15.83 MB / 414.1 MB Notification: Performance of SimCode: time 8.41e-07/0.372, allocations: 0 / 0.4896 GB, free: 15.83 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07125/0.4433, allocations: 33.45 MB / 0.5223 GB, free: 14.51 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.41/12.85, allocations: 11.23 kB / 0.5223 GB, free: 14.5 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 & python3 -m fmpy simulate --output-file Modelica_4.1.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_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.csv","/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.868299150999519]