Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.0008798/0.0008798, allocations: 76.06 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008357/0.0008357, allocations: 149.1 kB / 23.93 MB, free: 0.6328 MB / 18.57 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 0.8635/0.8635, allocations: 173.4 MB / 200.4 MB, free: 9.434 MB / 186.7 MB " [Timeout remaining time 179] 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.MoistAir1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 318.4 MB, free: 6.352 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.732e-05/1.886e-05, allocations: 5.516 kB / 318.4 MB, free: 6.348 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.03317/0.03319, allocations: 45.29 MB / 363.7 MB, free: 8.891 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003935/0.03712, allocations: 4.704 MB / 368.4 MB, free: 4.172 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001757/0.0373, allocations: 7.938 kB / 368.4 MB, free: 4.164 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006057/0.0379, allocations: 234.6 kB / 368.7 MB, free: 3.934 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004724/0.03838, allocations: 389.4 kB / 369.1 MB, free: 3.551 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01116/0.04953, allocations: 7.176 MB / 376.2 MB, free: 12.37 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008552/0.05039, allocations: 1.103 MB / 377.3 MB, free: 11.27 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001833/0.05057, allocations: 105.8 kB / 377.4 MB, free: 11.16 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003928/0.0545, allocations: 3.767 MB / 381.2 MB, free: 7.387 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003714/0.05487, allocations: 374.9 kB / 381.6 MB, free: 7.02 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.922e-05/0.05493, allocations: 60 kB / 381.6 MB, free: 6.961 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01174/0.06667, allocations: 9.313 MB / 390.9 MB, free: 13.63 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002081/0.06688, allocations: 251.3 kB / 391.2 MB, free: 13.39 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002139/0.06709, allocations: 231.6 kB / 391.4 MB, free: 13.16 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006907/0.074, allocations: 6.673 MB / 398.1 MB, free: 6.473 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.074, allocations: 4 kB / 398.1 MB, free: 6.469 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.07401, allocations: 4 kB / 398.1 MB, free: 6.465 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.07401, allocations: 0 / 398.1 MB, free: 6.465 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001688/0.0757, allocations: 1.311 MB / 399.4 MB, free: 5.117 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.07574, allocations: 8.922 kB / 399.4 MB, free: 5.109 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.114e-05/0.07581, allocations: 86.52 kB / 399.5 MB, free: 5.016 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001925/0.076, allocations: 71.66 kB / 399.6 MB, free: 4.945 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003529/0.07636, allocations: 308.2 kB / 399.9 MB, free: 4.617 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.07638, allocations: 29 kB / 399.9 MB, free: 4.59 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.885e-05/0.07643, allocations: 44 kB / 399.9 MB, free: 4.547 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008407/0.07727, allocations: 0.8971 MB / 400.8 MB, free: 3.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.07728, allocations: 0 / 400.8 MB, free: 3.57 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.508e-05/0.07732, allocations: 16 kB / 400.9 MB, free: 3.555 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-06/0.07733, allocations: 16 kB / 400.9 MB, free: 3.539 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008112/0.07814, allocations: 0.7456 MB / 401.6 MB, free: 2.789 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006104/0.08424, allocations: 3.666 MB / 405.3 MB, free: 15.07 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007632/0.085, allocations: 0.497 MB / 405.8 MB, free: 14.57 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002386/0.08524, allocations: 245.4 kB / 406 MB, free: 14.33 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004609/0.08985, allocations: 2.565 MB / 408.6 MB, free: 11.76 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.602e-05/0.08988, allocations: 39.06 kB / 408.6 MB, free: 11.71 MB / 378.7 MB Notification: Performance of pre-optimization done (n=50): time 1.623e-06/0.08988, allocations: 4 kB / 408.6 MB, free: 11.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=55): time 0.003233/0.09311, allocations: 1.912 MB / 410.5 MB, free: 9.762 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.09315, allocations: 59.91 kB / 410.6 MB, free: 9.691 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002363/0.09338, allocations: 328.1 kB / 410.9 MB, free: 9.363 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.459e-05/0.09342, allocations: 41.7 kB / 411 MB, free: 9.316 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.002e-05/0.09351, allocations: 196.8 kB / 411.1 MB, free: 9.121 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.036e-05/0.0936, allocations: 202.2 kB / 411.3 MB, free: 8.922 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.09371, allocations: 118.3 kB / 411.5 MB, free: 8.801 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.67e-05/0.0938, allocations: 346.8 kB / 411.8 MB, free: 8.453 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002543/0.09405, allocations: 241.2 kB / 412 MB, free: 8.219 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003767/0.09443, allocations: 340.4 kB / 412.4 MB, free: 7.852 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007001/0.09513, allocations: 0.6046 MB / 413 MB, free: 7.215 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.09513, allocations: 0 / 413 MB, free: 7.215 MB / 378.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00103/0.09616, allocations: 0.7536 MB / 413.7 MB, free: 6.441 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.09617, allocations: 8.062 kB / 413.7 MB, free: 6.434 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.09618, allocations: 4 kB / 413.7 MB, free: 6.43 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002671/0.09645, allocations: 114.4 kB / 413.8 MB, free: 6.309 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002587/0.09671, allocations: 127.9 kB / 414 MB, free: 6.184 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001603/0.09831, allocations: 3.246 MB / 417.2 MB, free: 2.684 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001333/0.09844, allocations: 20.02 kB / 417.2 MB, free: 2.664 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.414e-05/0.09849, allocations: 24 kB / 417.3 MB, free: 2.641 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001572/0.09865, allocations: 198 kB / 417.5 MB, free: 2.438 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001466/0.09879, allocations: 51.72 kB / 417.5 MB, free: 2.387 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009311/0.09972, allocations: 0.8166 MB / 418.3 MB, free: 1.539 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.09973, allocations: 4 kB / 418.3 MB, free: 1.535 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.053e-06/0.09973, allocations: 4 kB / 418.3 MB, free: 1.531 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006888/0.1004, allocations: 0.765 MB / 419.1 MB, free: 0.6992 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001227/0.1016, allocations: 1.185 MB / 420.3 MB, free: 15.45 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.1016, allocations: 3.984 kB / 420.3 MB, free: 15.45 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002287/0.1019, allocations: 99.95 kB / 420.4 MB, free: 15.35 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000441/0.1023, allocations: 148.7 kB / 420.5 MB, free: 15.2 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.715e-05/0.1023, allocations: 15.98 kB / 420.5 MB, free: 15.18 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000249/0.1026, allocations: 0.6484 MB / 421.2 MB, free: 14.51 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.1026, allocations: 3.938 kB / 421.2 MB, free: 14.51 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/0.1036, allocations: 0.9072 MB / 422.1 MB, free: 13.58 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.404e-05/0.1036, allocations: 43.8 kB / 422.1 MB, free: 13.54 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.647e-05/0.1037, allocations: 12 kB / 422.2 MB, free: 13.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001872/0.1039, allocations: 19.98 kB / 422.2 MB, free: 13.5 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.113e-05/0.1039, allocations: 36.44 kB / 422.2 MB, free: 13.47 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.604e-05/0.1039, allocations: 27.97 kB / 422.2 MB, free: 13.44 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001744/0.1041, allocations: 259.1 kB / 422.5 MB, free: 13.19 MB / 394.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1041, allocations: 0 / 422.5 MB, free: 13.19 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00271/0.1068, allocations: 1.341 MB / 423.8 MB, free: 11.85 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004528/0.1114, allocations: 3.218 MB / 427 MB, free: 8.605 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008929/0.1123, allocations: 0.7775 MB / 427.8 MB, free: 7.797 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1123, allocations: 0 / 427.8 MB, free: 7.797 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003093/0.1126, allocations: 276.1 kB / 428.1 MB, free: 7.523 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007442/0.1133, allocations: 288.3 kB / 428.4 MB, free: 7.242 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005277/0.1186, allocations: 5.255 MB / 433.6 MB, free: 1.809 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001546/0.1187, allocations: 233.6 kB / 433.9 MB, free: 1.555 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003053/0.119, allocations: 144.2 kB / 434 MB, free: 1.414 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001712/0.1192, allocations: 160.4 kB / 434.2 MB, free: 1.258 MB / 394.7 MB Notification: Performance of SimCode: time 6.92e-07/0.1192, allocations: 0 / 434.2 MB, free: 1.258 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1731/0.2923, allocations: 52.44 MB / 486.6 MB, free: 92.04 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.471/9.763, allocations: 7.156 kB / 486.6 MB, free: 92.04 MB / 410.7 MB " [Timeout remaining time 650] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_MoistAir1.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/MoistAir1/MoistAir1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.992339898832142]