Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001381/0.001381, allocations: 110 kB / 20.43 MB, free: 1.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001462/0.001462, allocations: 213.9 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.418/1.418, allocations: 230.5 MB / 257.4 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.MoistAir,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 59.89 kB / 377.8 MB, free: 3.012 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/0.2544, allocations: 53.41 MB / 431.2 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.4228/0.6771, allocations: 155 MB / 0.5724 GB, free: 13.06 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001561/0.6787, allocations: 1.616 MB / 0.574 GB, free: 12.93 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.231e-05/0.6788, allocations: 3.938 kB / 0.574 GB, free: 12.93 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003729/0.6792, allocations: 67.44 kB / 0.574 GB, free: 12.91 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003883/0.6795, allocations: 167.3 kB / 0.5742 GB, free: 12.87 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002487/0.682, allocations: 1.056 MB / 0.5752 GB, free: 12.66 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003806/0.6824, allocations: 357.7 kB / 0.5756 GB, free: 12.59 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.588e-05/0.6825, allocations: 9.469 kB / 0.5756 GB, free: 12.59 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002362/0.6827, allocations: 166.8 kB / 0.5757 GB, free: 12.57 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002076/0.6829, allocations: 140.8 kB / 0.5759 GB, free: 12.57 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.723e-05/0.6829, allocations: 12.41 kB / 0.5759 GB, free: 12.57 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002393/0.6853, allocations: 1.693 MB / 0.5775 GB, free: 12.48 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 9.027e-05/0.6854, allocations: 69.91 kB / 0.5776 GB, free: 12.48 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001052/0.6855, allocations: 102.1 kB / 0.5777 GB, free: 12.48 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001314/0.6868, allocations: 1.042 MB / 0.5787 GB, free: 12.4 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.6868, allocations: 0 / 0.5787 GB, free: 12.4 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.6868, allocations: 4 kB / 0.5787 GB, free: 12.39 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.332e-06/0.6868, allocations: 0 / 0.5787 GB, free: 12.39 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.001701/0.6885, allocations: 0.6334 MB / 0.5793 GB, free: 11.99 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.6886, allocations: 11.27 kB / 0.5794 GB, free: 11.99 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.005e-05/0.6886, allocations: 52.36 kB / 0.5794 GB, free: 11.95 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001284/0.6888, allocations: 21.84 kB / 0.5794 GB, free: 11.94 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002485/0.689, allocations: 161.8 kB / 0.5796 GB, free: 11.8 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/0.689, allocations: 12.36 kB / 0.5796 GB, free: 11.8 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.564e-05/0.6891, allocations: 20.61 kB / 0.5796 GB, free: 11.8 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005129/0.6896, allocations: 267.9 kB / 0.5799 GB, free: 11.74 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.6896, allocations: 0 / 0.5799 GB, free: 11.74 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.856e-05/0.6896, allocations: 9.219 kB / 0.5799 GB, free: 11.74 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.703e-05/0.6896, allocations: 5.281 kB / 0.5799 GB, free: 11.74 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005555/0.6902, allocations: 267 kB / 0.5801 GB, free: 11.73 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.001373/0.6916, allocations: 0.7629 MB / 0.5809 GB, free: 11.27 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000576/0.6922, allocations: 221.2 kB / 0.5811 GB, free: 11.21 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002816/0.6924, allocations: 133.4 kB / 0.5812 GB, free: 11.19 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001809/0.6926, allocations: 49.41 kB / 0.5813 GB, free: 11.18 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/0.6926, allocations: 40.19 kB / 0.5813 GB, free: 11.14 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 1.523e-06/0.6926, allocations: 0 / 0.5813 GB, free: 11.14 MB / 462.1 MB Notification: Performance of matching and sorting (n=36): time 0.002241/0.6949, allocations: 0.6893 MB / 0.582 GB, free: 10.99 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.79e-05/0.695, allocations: 85.89 kB / 0.5821 GB, free: 10.89 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.6951, allocations: 137.1 kB / 0.5822 GB, free: 10.78 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.621e-05/0.6951, allocations: 35.58 kB / 0.5822 GB, free: 10.75 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.476e-05/0.6952, allocations: 107 kB / 0.5823 GB, free: 10.65 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001046/0.6953, allocations: 135 kB / 0.5825 GB, free: 10.55 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.6954, allocations: 74.59 kB / 0.5825 GB, free: 10.52 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.6955, allocations: 326.9 kB / 0.5828 GB, free: 10.2 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003429/0.6959, allocations: 138.1 kB / 0.583 GB, free: 10.17 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003929/0.6963, allocations: 206.4 kB / 0.5832 GB, free: 10.07 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007189/0.697, allocations: 354.9 kB / 0.5835 GB, free: 9.949 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.697, allocations: 0 / 0.5835 GB, free: 9.949 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008609/0.6979, allocations: 416.3 kB / 0.5839 GB, free: 9.836 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.6979, allocations: 5.156 kB / 0.5839 GB, free: 9.836 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.6979, allocations: 3.406 kB / 0.5839 GB, free: 9.836 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.6979, allocations: 5.375 kB / 0.5839 GB, free: 9.836 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004533/0.6983, allocations: 91.12 kB / 0.584 GB, free: 9.812 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.6984, allocations: 1.969 kB / 0.584 GB, free: 9.812 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003046/0.6987, allocations: 35.36 kB / 0.584 GB, free: 9.797 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.256e-05/0.6987, allocations: 14.03 kB / 0.584 GB, free: 9.797 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.0001541/0.6988, allocations: 147.6 kB / 0.5842 GB, free: 9.668 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.965e-05/0.6989, allocations: 18.78 kB / 0.5842 GB, free: 9.66 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003332/0.6993, allocations: 174.4 kB / 0.5844 GB, free: 9.594 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.6993, allocations: 2.719 kB / 0.5844 GB, free: 9.594 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/0.6993, allocations: 3.25 kB / 0.5844 GB, free: 9.594 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.6993, allocations: 7.938 kB / 0.5844 GB, free: 9.586 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001676/0.701, allocations: 0.7453 MB / 0.5851 GB, free: 9.129 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.798e-06/0.701, allocations: 2.25 kB / 0.5851 GB, free: 9.129 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004285/0.7014, allocations: 86.28 kB / 0.5852 GB, free: 9.105 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.7014, allocations: 2.062 kB / 0.5852 GB, free: 9.105 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.716e-05/0.7014, allocations: 8.969 kB / 0.5852 GB, free: 9.105 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.933e-06/0.7014, allocations: 6.453 kB / 0.5852 GB, free: 9.102 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.7014, allocations: 6.562 kB / 0.5852 GB, free: 9.098 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001253/0.7027, allocations: 0.7164 MB / 0.5859 GB, free: 8.746 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001133/0.7028, allocations: 49.66 kB / 0.586 GB, free: 8.723 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.32e-05/0.7028, allocations: 10.41 kB / 0.586 GB, free: 8.719 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003622/0.7032, allocations: 24.22 kB / 0.586 GB, free: 8.711 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.913e-05/0.7032, allocations: 27.28 kB / 0.586 GB, free: 8.695 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.816e-05/0.7033, allocations: 16.06 kB / 0.586 GB, free: 8.695 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.617e-05/0.7033, allocations: 105.8 kB / 0.5861 GB, free: 8.613 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.7033, allocations: 0 / 0.5861 GB, free: 8.613 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006112/0.704, allocations: 165.3 kB / 0.5863 GB, free: 8.582 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.001972/0.7059, allocations: 1.389 MB / 0.5877 GB, free: 7.652 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008391/0.7068, allocations: 322.5 kB / 0.588 GB, free: 7.59 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.7068, allocations: 0 / 0.588 GB, free: 7.59 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003756/0.7071, allocations: 178.4 kB / 0.5881 GB, free: 7.547 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006981/0.7078, allocations: 106.8 kB / 0.5882 GB, free: 7.508 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004584/0.7124, allocations: 2.917 MB / 0.5911 GB, free: 5.57 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003958/0.7128, allocations: 0.7443 MB / 0.5918 GB, free: 4.844 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003347/0.7132, allocations: 77.64 kB / 0.5919 GB, free: 4.801 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001801/0.7133, allocations: 68.62 kB / 0.592 GB, free: 4.789 MB / 462.1 MB Notification: Performance of SimCode: time 8.11e-07/0.7133, allocations: 0 / 0.592 GB, free: 4.789 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03663/0.75, allocations: 9.002 MB / 0.6007 GB, free: 220 kB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/12.19, allocations: 14.53 kB / 0.6008 GB, free: 212 kB / 462.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.MoistAir.sim & python3 -m fmpy simulate --output-file Modelica_trunk_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_trunk_Modelica_Media_Examples_MoistAir.fmu > Modelica_trunk_Modelica.Media.Examples.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.MoistAir_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.706439049998153]