Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.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.004247/0.004247, allocations: 110.5 kB / 21.97 MB, free: 5.25 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.001416/0.001416, allocations: 206.5 kB / 25.27 MB, free: 3.238 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.257/1.257, allocations: 207.6 MB / 236 MB, free: 9.992 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Tests.MediaTestModels.Air.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_MoistAir",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_MoistAir",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001655/0.001655, allocations: 51.94 kB / 348 MB, free: 9.992 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2218/0.2234, allocations: 49.16 MB / 397.2 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir): time 0.4132/0.6366, allocations: 187.5 MB / 0.571 GB, free: 1.777 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004531/0.6412, allocations: 4.84 MB / 0.5757 GB, free: 1.758 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001555/0.6413, allocations: 7.719 kB / 0.5757 GB, free: 1.758 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006368/0.642, allocations: 253.6 kB / 0.5759 GB, free: 1.758 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004936/0.6424, allocations: 383.6 kB / 0.5763 GB, free: 1.754 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006162/0.6486, allocations: 2.922 MB / 0.5792 GB, free: 1.656 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001447/0.6501, allocations: 1.18 MB / 0.5803 GB, free: 1.656 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000216/0.6503, allocations: 107.9 kB / 0.5804 GB, free: 1.629 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00338/0.6537, allocations: 1.483 MB / 0.5819 GB, free: 1.598 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005759/0.6542, allocations: 455.5 kB / 0.5823 GB, free: 1.598 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.218e-05/0.6543, allocations: 66.91 kB / 0.5824 GB, free: 1.598 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006535/0.6609, allocations: 4.37 MB / 0.5866 GB, free: 1.562 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002674/0.6611, allocations: 248.9 kB / 0.5869 GB, free: 1.559 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003839/0.6615, allocations: 317.1 kB / 0.5872 GB, free: 1.559 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00381/0.6653, allocations: 2.919 MB / 0.59 GB, free: 1.406 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.6653, allocations: 0.8125 kB / 0.59 GB, free: 1.406 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.6653, allocations: 0 / 0.59 GB, free: 1.406 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.259e-05/0.6653, allocations: 4.781 kB / 0.59 GB, free: 1.406 MB / 478.1 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.001903/0.6672, allocations: 1.099 MB / 0.5911 GB, free: 16.77 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.6673, allocations: 15.77 kB / 0.5911 GB, free: 16.76 MB / 494.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.881e-05/0.6673, allocations: 16.91 kB / 0.5911 GB, free: 16.76 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.532e-05/0.6674, allocations: 82.89 kB / 0.5912 GB, free: 16.72 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002856/0.6677, allocations: 63.92 kB / 0.5913 GB, free: 16.7 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000425/0.6681, allocations: 310.6 kB / 0.5916 GB, free: 16.53 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/0.6681, allocations: 31.56 kB / 0.5916 GB, free: 16.53 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.622e-05/0.6682, allocations: 42.75 kB / 0.5916 GB, free: 16.53 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006823/0.6688, allocations: 0.5057 MB / 0.5921 GB, free: 16.49 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/0.6689, allocations: 0 / 0.5921 GB, free: 16.49 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.228e-05/0.6689, allocations: 20.52 kB / 0.5922 GB, free: 16.49 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.6689, allocations: 18.31 kB / 0.5922 GB, free: 16.48 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007358/0.6697, allocations: 0.5986 MB / 0.5928 GB, free: 16.48 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002553/0.6722, allocations: 1.844 MB / 0.5946 GB, free: 15.67 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009507/0.6732, allocations: 0.519 MB / 0.5951 GB, free: 15.64 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003021/0.6735, allocations: 247.8 kB / 0.5953 GB, free: 15.63 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002272/0.6737, allocations: 99.02 kB / 0.5954 GB, free: 15.63 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.6737, allocations: 41.41 kB / 0.5954 GB, free: 15.59 MB / 494.1 MB Notification: Performance of pre-optimization done (n=53): time 1.553e-06/0.6737, allocations: 0.875 kB / 0.5954 GB, free: 15.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=65): time 0.01212/0.6858, allocations: 3.419 MB / 0.5988 GB, free: 15.27 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/0.6859, allocations: 58.22 kB / 0.5988 GB, free: 15.2 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000287/0.6862, allocations: 299 kB / 0.5991 GB, free: 15.09 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.206e-05/0.6862, allocations: 42.02 kB / 0.5992 GB, free: 15.06 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.6864, allocations: 190.4 kB / 0.5993 GB, free: 14.93 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001254/0.6865, allocations: 240.5 kB / 0.5996 GB, free: 14.78 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001699/0.6866, allocations: 111.3 kB / 0.5997 GB, free: 14.77 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.6868, allocations: 358.6 kB / 0.6 GB, free: 14.45 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005722/0.6874, allocations: 316.4 kB / 0.6003 GB, free: 14.45 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006246/0.688, allocations: 384.2 kB / 0.6007 GB, free: 14.39 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001223/0.6892, allocations: 0.7109 MB / 0.6014 GB, free: 14.34 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.6892, allocations: 4.156 kB / 0.6014 GB, free: 14.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001817/0.691, allocations: 0.9561 MB / 0.6023 GB, free: 14.24 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.6911, allocations: 4.375 kB / 0.6023 GB, free: 14.24 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.6911, allocations: 5.594 kB / 0.6023 GB, free: 14.24 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001345/0.6924, allocations: 333.8 kB / 0.6026 GB, free: 14.21 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004893/0.6929, allocations: 119.2 kB / 0.6028 GB, free: 14.21 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003402/0.6963, allocations: 3.513 MB / 0.6062 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004834/0.6968, allocations: 36.55 kB / 0.6062 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-05/0.6968, allocations: 26.59 kB / 0.6063 GB, free: 11.25 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (68): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 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): 3 systems {(2,6), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002697/0.6971, allocations: 194.5 kB / 0.6064 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/0.6972, allocations: 52.47 kB / 0.6065 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002097/0.6993, allocations: 1.017 MB / 0.6075 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.471e-06/0.6993, allocations: 8.5 kB / 0.6075 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.013e-06/0.6993, allocations: 0 / 0.6075 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001825/0.7012, allocations: 1.063 MB / 0.6085 GB, free: 10.65 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002538/0.7037, allocations: 1.673 MB / 0.6102 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.7037, allocations: 0 / 0.6102 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004743/0.7042, allocations: 115.5 kB / 0.6103 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001527/0.7057, allocations: 372.7 kB / 0.6106 GB, free: 10.33 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.389e-05/0.7058, allocations: 28.56 kB / 0.6107 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001233/0.707, allocations: 0.864 MB / 0.6115 GB, free: 9.805 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.707, allocations: 3.594 kB / 0.6115 GB, free: 9.805 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002275/0.7093, allocations: 1.351 MB / 0.6128 GB, free: 9.602 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.245e-05/0.7094, allocations: 36.91 kB / 0.6129 GB, free: 9.582 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.119e-05/0.7094, allocations: 21.06 kB / 0.6129 GB, free: 9.582 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005517/0.71, allocations: 43.75 kB / 0.6129 GB, free: 9.582 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.728e-05/0.7101, allocations: 44.86 kB / 0.613 GB, free: 9.582 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-05/0.7101, allocations: 33.23 kB / 0.613 GB, free: 9.578 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000208/0.7103, allocations: 226.9 kB / 0.6132 GB, free: 9.492 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.7103, allocations: 0 / 0.6132 GB, free: 9.492 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001191/0.7115, allocations: 459.6 kB / 0.6136 GB, free: 9.414 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (62): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(2,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003908/0.7154, allocations: 2.365 MB / 0.616 GB, free: 8.609 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001855/0.7173, allocations: 0.9588 MB / 0.6169 GB, free: 8.367 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.366e-06/0.7173, allocations: 2.656 kB / 0.6169 GB, free: 8.367 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007605/0.7181, allocations: 406.4 kB / 0.6173 GB, free: 8.363 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001387/0.7194, allocations: 306.2 kB / 0.6176 GB, free: 8.305 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009262/0.7287, allocations: 5.729 MB / 0.6232 GB, free: 6.133 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004701/0.7292, allocations: 0.8496 MB / 0.624 GB, free: 5.367 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005142/0.7297, allocations: 129.3 kB / 0.6241 GB, free: 5.312 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002391/0.7299, allocations: 169.4 kB / 0.6243 GB, free: 5.285 MB / 494.1 MB Notification: Performance of SimCode: time 6.72e-07/0.7299, allocations: 0 / 0.6243 GB, free: 5.285 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06273/0.7927, allocations: 27.74 MB / 0.6514 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.71/13.5, allocations: 23.81 kB / 0.6514 GB, free: 10.42 MB / 0.5137 GB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_MoistAir_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_MoistAir.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Air/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.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: 16.292489555024076]