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.001441/0.001441, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001618/0.001618, allocations: 205.6 kB / 23.72 MB, free: 4.391 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.435/1.435, allocations: 230.5 MB / 257.4 MB, free: 7.734 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.002096/0.002096, allocations: 67.91 kB / 377.7 MB, free: 2.816 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.2414, allocations: 53.4 MB / 431.1 MB, free: 6.434 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MoistAir): time 0.3703/0.6117, allocations: 133.3 MB / 0.5512 GB, free: 15.75 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.00153/0.6132, allocations: 1.434 MB / 0.5526 GB, free: 15.72 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.93e-05/0.6133, allocations: 1.312 kB / 0.5526 GB, free: 15.72 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003383/0.6136, allocations: 63.31 kB / 0.5526 GB, free: 15.72 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003663/0.614, allocations: 162.9 kB / 0.5528 GB, free: 15.72 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002581/0.6165, allocations: 1.06 MB / 0.5538 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004251/0.617, allocations: 352.9 kB / 0.5541 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.713e-05/0.617, allocations: 11.97 kB / 0.5542 GB, free: 15.68 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002657/0.6173, allocations: 169.5 kB / 0.5543 GB, free: 15.67 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002125/0.6175, allocations: 132.2 kB / 0.5544 GB, free: 15.67 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 3.313e-05/0.6175, allocations: 12.38 kB / 0.5545 GB, free: 15.67 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002004/0.6195, allocations: 1.368 MB / 0.5558 GB, free: 15.66 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 9.738e-05/0.6196, allocations: 70.7 kB / 0.5559 GB, free: 15.66 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001052/0.6197, allocations: 97.08 kB / 0.556 GB, free: 15.65 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00133/0.6211, allocations: 0.9927 MB / 0.5569 GB, free: 15.59 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.6211, allocations: 0 / 0.5569 GB, free: 15.59 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.6211, allocations: 0 / 0.5569 GB, free: 15.59 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.702e-06/0.6211, allocations: 0 / 0.5569 GB, free: 15.59 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.001709/0.6228, allocations: 0.6332 MB / 0.5575 GB, free: 15.18 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.785e-05/0.6228, allocations: 14.2 kB / 0.5576 GB, free: 15.18 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.501e-05/0.6229, allocations: 50.92 kB / 0.5576 GB, free: 15.14 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001293/0.623, allocations: 22.78 kB / 0.5576 GB, free: 15.13 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002658/0.6233, allocations: 163.5 kB / 0.5578 GB, free: 15 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.402e-05/0.6233, allocations: 9.328 kB / 0.5578 GB, free: 15 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.28e-05/0.6233, allocations: 22.67 kB / 0.5578 GB, free: 14.99 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005669/0.6239, allocations: 367.3 kB / 0.5582 GB, free: 14.81 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.6239, allocations: 2.938 kB / 0.5582 GB, free: 14.81 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.828e-05/0.624, allocations: 7.844 kB / 0.5582 GB, free: 14.81 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.77e-05/0.624, allocations: 11.66 kB / 0.5582 GB, free: 14.81 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005631/0.6245, allocations: 265.8 kB / 0.5584 GB, free: 14.81 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.001367/0.6259, allocations: 0.6523 MB / 0.5591 GB, free: 14.44 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006055/0.6265, allocations: 220.9 kB / 0.5593 GB, free: 14.38 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002789/0.6268, allocations: 130.4 kB / 0.5594 GB, free: 14.36 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001724/0.627, allocations: 46.16 kB / 0.5595 GB, free: 14.36 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/0.627, allocations: 43.88 kB / 0.5595 GB, free: 14.32 MB / 462.1 MB Notification: Performance of pre-optimization done (n=29): time 1.673e-06/0.627, allocations: 0 / 0.5595 GB, free: 14.32 MB / 462.1 MB Notification: Performance of matching and sorting (n=36): time 0.002243/0.6292, allocations: 0.6815 MB / 0.5602 GB, free: 14.23 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.999e-05/0.6293, allocations: 83.84 kB / 0.5602 GB, free: 14.14 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.6294, allocations: 142 kB / 0.5604 GB, free: 14.04 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.775e-05/0.6295, allocations: 32.64 kB / 0.5604 GB, free: 14 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.159e-05/0.6295, allocations: 113 kB / 0.5605 GB, free: 13.91 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001042/0.6296, allocations: 134.3 kB / 0.5606 GB, free: 13.82 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/0.6297, allocations: 67.47 kB / 0.5607 GB, free: 13.8 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.6299, allocations: 328.5 kB / 0.561 GB, free: 13.49 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003724/0.6302, allocations: 140.5 kB / 0.5612 GB, free: 13.48 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003873/0.6306, allocations: 199.6 kB / 0.5613 GB, free: 13.41 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007205/0.6313, allocations: 359.8 kB / 0.5617 GB, free: 13.34 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.6314, allocations: 0.875 kB / 0.5617 GB, free: 13.34 MB / 462.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008516/0.6322, allocations: 417.1 kB / 0.5621 GB, free: 13.29 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.6322, allocations: 6.438 kB / 0.5621 GB, free: 13.29 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.6322, allocations: 0 / 0.5621 GB, free: 13.29 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.6322, allocations: 4.844 kB / 0.5621 GB, free: 13.29 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000446/0.6327, allocations: 94.05 kB / 0.5622 GB, free: 13.28 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.6327, allocations: 3 kB / 0.5622 GB, free: 13.28 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003054/0.633, allocations: 36.78 kB / 0.5622 GB, free: 13.27 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.367e-05/0.633, allocations: 21.69 kB / 0.5622 GB, free: 13.27 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.0001484/0.6332, allocations: 140.6 kB / 0.5624 GB, free: 13.15 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.601e-05/0.6333, allocations: 22.73 kB / 0.5624 GB, free: 13.14 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003345/0.6336, allocations: 180.2 kB / 0.5626 GB, free: 13.09 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.6336, allocations: 7.25 kB / 0.5626 GB, free: 13.09 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.6336, allocations: 0 / 0.5626 GB, free: 13.09 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/0.6336, allocations: 6.656 kB / 0.5626 GB, free: 13.09 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001635/0.6352, allocations: 0.7031 MB / 0.5633 GB, free: 12.76 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.6353, allocations: 5.5 kB / 0.5633 GB, free: 12.76 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004099/0.6357, allocations: 83.38 kB / 0.5634 GB, free: 12.76 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.6357, allocations: 3.5 kB / 0.5634 GB, free: 12.76 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.652e-05/0.6357, allocations: 10.5 kB / 0.5634 GB, free: 12.76 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.646e-06/0.6357, allocations: 2.656 kB / 0.5634 GB, free: 12.76 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.6357, allocations: 6.062 kB / 0.5634 GB, free: 12.76 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001294/0.637, allocations: 0.723 MB / 0.5641 GB, free: 12.48 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001185/0.6371, allocations: 41.06 kB / 0.5641 GB, free: 12.47 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.387e-05/0.6372, allocations: 12.38 kB / 0.5641 GB, free: 12.47 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003548/0.6375, allocations: 24.7 kB / 0.5642 GB, free: 12.47 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.396e-05/0.6375, allocations: 25.25 kB / 0.5642 GB, free: 12.47 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.788e-05/0.6376, allocations: 20.58 kB / 0.5642 GB, free: 12.47 MB / 462.1 MB Notification: Performance of sorting global known variables: time 7.252e-05/0.6376, allocations: 100.7 kB / 0.5643 GB, free: 12.39 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6376, allocations: 0 / 0.5643 GB, free: 12.39 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006137/0.6383, allocations: 162.9 kB / 0.5645 GB, free: 12.37 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.001963/0.6402, allocations: 1.395 MB / 0.5658 GB, free: 11.54 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008002/0.641, allocations: 325.5 kB / 0.5661 GB, free: 11.54 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.641, allocations: 4 kB / 0.5661 GB, free: 11.54 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003653/0.6414, allocations: 165.4 kB / 0.5663 GB, free: 11.54 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007517/0.6421, allocations: 111.6 kB / 0.5664 GB, free: 11.52 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004562/0.6467, allocations: 2.92 MB / 0.5692 GB, free: 9.836 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001233/0.6468, allocations: 126.6 kB / 0.5694 GB, free: 9.758 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003378/0.6472, allocations: 79.06 kB / 0.5694 GB, free: 9.727 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000168/0.6473, allocations: 69.77 kB / 0.5695 GB, free: 9.719 MB / 462.1 MB Notification: Performance of SimCode: time 5.61e-07/0.6473, allocations: 2.625 kB / 0.5695 GB, free: 9.719 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03786/0.6852, allocations: 9.619 MB / 0.5789 GB, free: 7.145 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/12.04, allocations: 13.23 kB / 0.5789 GB, free: 7.137 MB / 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.52052714722231]