Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.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.001607/0.001607, allocations: 112.2 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.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.001895/0.001895, allocations: 188.4 kB / 23.72 MB, free: 4.684 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.476/1.476, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.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.MoistAir,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001558, allocations: 47.92 kB / 370.4 MB, free: 9.883 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2544, allocations: 52.2 MB / 422.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.4229/0.6772, allocations: 151.9 MB / 0.5611 GB, free: 13.7 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001477/0.6787, allocations: 1.603 MB / 0.5627 GB, free: 13.57 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.995e-05/0.6788, allocations: 2.531 kB / 0.5627 GB, free: 13.57 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003615/0.6791, allocations: 57.92 kB / 0.5627 GB, free: 13.56 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003233/0.6795, allocations: 163.2 kB / 0.5629 GB, free: 13.52 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002363/0.6818, allocations: 1.034 MB / 0.5639 GB, free: 13.32 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003309/0.6822, allocations: 332.4 kB / 0.5642 GB, free: 13.27 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.114e-05/0.6822, allocations: 14.08 kB / 0.5642 GB, free: 13.26 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002126/0.6824, allocations: 150.4 kB / 0.5644 GB, free: 13.24 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002064/0.6826, allocations: 135.1 kB / 0.5645 GB, free: 13.23 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.545e-05/0.6827, allocations: 10.72 kB / 0.5645 GB, free: 13.23 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00208/0.6847, allocations: 1.65 MB / 0.5661 GB, free: 13.15 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 8.431e-05/0.6848, allocations: 72.14 kB / 0.5662 GB, free: 13.15 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 9.534e-05/0.6849, allocations: 95.44 kB / 0.5663 GB, free: 13.15 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001165/0.6861, allocations: 0.9946 MB / 0.5672 GB, free: 13.08 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.6861, allocations: 0 / 0.5672 GB, free: 13.08 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.6861, allocations: 1.812 kB / 0.5672 GB, free: 13.08 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.6861, allocations: 0 / 0.5672 GB, free: 13.08 MB / 462.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.00162/0.6877, allocations: 0.6123 MB / 0.5678 GB, free: 12.69 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.6877, allocations: 7.625 kB / 0.5678 GB, free: 12.69 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.904e-05/0.6878, allocations: 55.53 kB / 0.5679 GB, free: 12.64 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001344/0.6879, allocations: 21.12 kB / 0.5679 GB, free: 12.64 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002485/0.6882, allocations: 164.6 kB / 0.5681 GB, free: 12.49 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.6882, allocations: 14.98 kB / 0.5681 GB, free: 12.49 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.289e-05/0.6882, allocations: 15.25 kB / 0.5681 GB, free: 12.49 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004949/0.6887, allocations: 264.9 kB / 0.5684 GB, free: 12.43 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.6888, allocations: 0 / 0.5684 GB, free: 12.43 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.72e-05/0.6888, allocations: 6.25 kB / 0.5684 GB, free: 12.43 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.763e-05/0.6888, allocations: 7.172 kB / 0.5684 GB, free: 12.43 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005494/0.6893, allocations: 265.2 kB / 0.5686 GB, free: 12.43 MB / 462.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.001325/0.6907, allocations: 0.7573 MB / 0.5694 GB, free: 11.96 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005638/0.6912, allocations: 214.3 kB / 0.5696 GB, free: 11.9 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000269/0.6915, allocations: 126.6 kB / 0.5697 GB, free: 11.89 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001682/0.6917, allocations: 51 kB / 0.5697 GB, free: 11.89 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/0.6917, allocations: 44.19 kB / 0.5698 GB, free: 11.84 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 1.322e-06/0.6917, allocations: 0 / 0.5698 GB, free: 11.84 MB / 462.1 MB Notification: Performance of matching and sorting (n=36): time 0.002186/0.6939, allocations: 0.6719 MB / 0.5704 GB, free: 11.75 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.245e-05/0.694, allocations: 88.2 kB / 0.5705 GB, free: 11.66 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.54e-05/0.6941, allocations: 122.8 kB / 0.5706 GB, free: 11.56 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.395e-05/0.6941, allocations: 36.58 kB / 0.5707 GB, free: 11.52 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.235e-05/0.6941, allocations: 111.7 kB / 0.5708 GB, free: 11.43 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.758e-05/0.6942, allocations: 128.2 kB / 0.5709 GB, free: 11.34 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.6943, allocations: 67.67 kB / 0.571 GB, free: 11.32 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001316/0.6945, allocations: 324.3 kB / 0.5713 GB, free: 11.01 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003249/0.6948, allocations: 135.2 kB / 0.5714 GB, free: 11.01 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003672/0.6952, allocations: 205.2 kB / 0.5716 GB, free: 10.93 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007126/0.6959, allocations: 366.1 kB / 0.5719 GB, free: 10.84 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.6959, allocations: 0 / 0.5719 GB, free: 10.84 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008782/0.6968, allocations: 408.6 kB / 0.5723 GB, free: 10.78 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.6968, allocations: 6.469 kB / 0.5723 GB, free: 10.78 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.6968, allocations: 2.562 kB / 0.5723 GB, free: 10.78 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.314e-05/0.6968, allocations: 6.078 kB / 0.5723 GB, free: 10.78 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004635/0.6973, allocations: 92.19 kB / 0.5724 GB, free: 10.77 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.6973, allocations: 6.531 kB / 0.5724 GB, free: 10.77 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002977/0.6976, allocations: 32.25 kB / 0.5725 GB, free: 10.75 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.202e-05/0.6976, allocations: 18.17 kB / 0.5725 GB, free: 10.75 MB / 462.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.0001445/0.6978, allocations: 142.1 kB / 0.5726 GB, free: 10.64 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.461e-05/0.6978, allocations: 16.03 kB / 0.5726 GB, free: 10.63 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003268/0.6982, allocations: 187.2 kB / 0.5728 GB, free: 10.57 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.6982, allocations: 3.797 kB / 0.5728 GB, free: 10.57 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.6982, allocations: 1.812 kB / 0.5728 GB, free: 10.57 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.6982, allocations: 5.672 kB / 0.5728 GB, free: 10.57 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001558/0.6997, allocations: 0.7308 MB / 0.5735 GB, free: 10.23 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.6997, allocations: 0 / 0.5735 GB, free: 10.23 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004179/0.7002, allocations: 81.39 kB / 0.5736 GB, free: 10.23 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.7002, allocations: 2.281 kB / 0.5736 GB, free: 10.23 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.658e-05/0.7002, allocations: 13.2 kB / 0.5736 GB, free: 10.23 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.157e-06/0.7002, allocations: 11.95 kB / 0.5736 GB, free: 10.22 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.7002, allocations: 4.156 kB / 0.5737 GB, free: 10.22 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001225/0.7014, allocations: 0.7022 MB / 0.5743 GB, free: 9.945 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.7015, allocations: 40.31 kB / 0.5744 GB, free: 9.934 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.197e-05/0.7016, allocations: 22.73 kB / 0.5744 GB, free: 9.926 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003451/0.7019, allocations: 18.06 kB / 0.5744 GB, free: 9.926 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.52e-05/0.702, allocations: 22.31 kB / 0.5744 GB, free: 9.926 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.752e-05/0.702, allocations: 19.44 kB / 0.5745 GB, free: 9.926 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.994e-05/0.702, allocations: 96.73 kB / 0.5745 GB, free: 9.848 MB / 462.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.702, allocations: 0 / 0.5745 GB, free: 9.848 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005705/0.7026, allocations: 145 kB / 0.5747 GB, free: 9.828 MB / 462.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 (38): * Single equations (assignments): 38 * 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.001809/0.7044, allocations: 1.369 MB / 0.576 GB, free: 8.996 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000794/0.7052, allocations: 334.9 kB / 0.5763 GB, free: 8.973 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.7052, allocations: 0 / 0.5763 GB, free: 8.973 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000353/0.7056, allocations: 167.9 kB / 0.5765 GB, free: 8.961 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006701/0.7062, allocations: 104.3 kB / 0.5766 GB, free: 8.938 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004287/0.7105, allocations: 2.822 MB / 0.5794 GB, free: 7.172 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003739/0.7109, allocations: 0.7346 MB / 0.5801 GB, free: 6.449 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003144/0.7112, allocations: 77.3 kB / 0.5801 GB, free: 6.406 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001659/0.7114, allocations: 60.53 kB / 0.5802 GB, free: 6.391 MB / 462.1 MB Notification: Performance of SimCode: time 3.81e-07/0.7114, allocations: 0 / 0.5802 GB, free: 6.391 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0375/0.7489, allocations: 8.44 MB / 0.5884 GB, free: 2.141 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/12.01, allocations: 18.52 kB / 0.5885 GB, free: 2.129 MB / 462.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.MoistAir.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Media.Examples.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_MoistAir.fmu > Modelica_4.0.0_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.MoistAir_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.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: 14.503342015999806]