Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.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.0014/0.0014, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001585/0.001585, allocations: 210.5 kB / 24.53 MB, free: 4.07 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.349/1.349, allocations: 230.5 MB / 258.2 MB, free: 8.035 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.ReferenceAir.DryAir2,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir2,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001814/0.001814, allocations: 59.89 kB / 378.6 MB, free: 3.023 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2238/0.2256, allocations: 53.4 MB / 432 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.03877/0.2644, allocations: 37.99 MB / 470 MB, free: 0.582 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00568/0.2701, allocations: 4.623 MB / 474.6 MB, free: 11.95 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002909/0.2704, allocations: 11.94 kB / 474.6 MB, free: 11.94 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007691/0.2712, allocations: 294.2 kB / 474.9 MB, free: 11.65 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008984/0.2721, allocations: 493.3 kB / 475.4 MB, free: 11.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004081/0.2761, allocations: 1.661 MB / 477 MB, free: 9.508 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001545/0.2777, allocations: 1.296 MB / 478.3 MB, free: 8.207 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002445/0.2779, allocations: 115 kB / 478.4 MB, free: 8.086 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006732/0.2786, allocations: 494.5 kB / 478.9 MB, free: 7.602 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005575/0.2792, allocations: 426.3 kB / 479.3 MB, free: 7.184 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.617e-05/0.2792, allocations: 44 kB / 479.4 MB, free: 7.141 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001487/0.2807, allocations: 0.7571 MB / 480.1 MB, free: 6.383 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001607/0.2809, allocations: 143.4 kB / 480.3 MB, free: 6.242 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000292/0.2812, allocations: 271 kB / 480.5 MB, free: 5.977 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001414/0.2826, allocations: 1.063 MB / 481.6 MB, free: 4.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.2826, allocations: 0 / 481.6 MB, free: 4.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2826, allocations: 7.938 kB / 481.6 MB, free: 4.902 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.5e-05/0.2826, allocations: 0 / 481.6 MB, free: 4.902 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001143/0.2837, allocations: 0.7114 MB / 482.3 MB, free: 4.156 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.2838, allocations: 12.03 kB / 482.3 MB, free: 4.145 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.935e-05/0.2838, allocations: 13.12 kB / 482.3 MB, free: 4.133 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.157e-05/0.2839, allocations: 74.72 kB / 482.4 MB, free: 4.051 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005583/0.2845, allocations: 88.62 kB / 482.5 MB, free: 3.965 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005122/0.285, allocations: 273.8 kB / 482.8 MB, free: 3.672 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.071e-05/0.285, allocations: 29.38 kB / 482.8 MB, free: 3.645 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.268e-05/0.2851, allocations: 44.06 kB / 482.8 MB, free: 3.602 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007088/0.2858, allocations: 471.6 kB / 483.3 MB, free: 3.098 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.2858, allocations: 0 / 483.3 MB, free: 3.098 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.663e-05/0.2858, allocations: 23.98 kB / 483.3 MB, free: 3.074 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.542e-05/0.2858, allocations: 12 kB / 483.3 MB, free: 3.062 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004898/0.2863, allocations: 307.6 kB / 483.6 MB, free: 2.758 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01296/0.2993, allocations: 5.495 MB / 489.1 MB, free: 12.98 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004788/0.2998, allocations: 254.5 kB / 489.4 MB, free: 12.72 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002641/0.3, allocations: 147.5 kB / 489.5 MB, free: 12.58 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009948/0.31, allocations: 2.664 MB / 492.2 MB, free: 9.91 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.073e-05/0.31, allocations: 39.16 kB / 492.2 MB, free: 9.863 MB / 398.1 MB Notification: Performance of pre-optimization done (n=35): time 1.723e-06/0.31, allocations: 0 / 492.2 MB, free: 9.863 MB / 398.1 MB Notification: Performance of matching and sorting (n=45): time 0.01155/0.3216, allocations: 2.315 MB / 494.5 MB, free: 7.508 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/0.3216, allocations: 67.39 kB / 494.6 MB, free: 7.43 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003339/0.322, allocations: 296.5 kB / 494.9 MB, free: 7.137 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.007e-05/0.322, allocations: 37.64 kB / 494.9 MB, free: 7.094 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001683/0.3222, allocations: 236.5 kB / 495.2 MB, free: 6.855 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001235/0.3223, allocations: 166.6 kB / 495.3 MB, free: 6.691 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001392/0.3224, allocations: 102.2 kB / 495.4 MB, free: 6.586 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.3226, allocations: 346.7 kB / 495.8 MB, free: 6.238 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002549/0.3228, allocations: 157.2 kB / 495.9 MB, free: 6.086 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003546/0.3232, allocations: 268.7 kB / 496.2 MB, free: 5.773 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000681/0.3239, allocations: 476.2 kB / 496.6 MB, free: 5.258 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.3239, allocations: 4 kB / 496.7 MB, free: 5.254 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001044/0.3249, allocations: 0.5918 MB / 497.2 MB, free: 4.648 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.3249, allocations: 6.969 kB / 497.2 MB, free: 4.645 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.3249, allocations: 8 kB / 497.3 MB, free: 4.637 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00771/0.3327, allocations: 1.847 MB / 499.1 MB, free: 2.801 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004128/0.3331, allocations: 107.8 kB / 499.2 MB, free: 2.695 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002092/0.3352, allocations: 2.462 MB / 0.4899 GB, free: 68 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002769/0.3354, allocations: 16 kB / 0.4899 GB, free: 52 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.637e-05/0.3355, allocations: 20 kB / 0.4899 GB, free: 32 kB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (61): * Single equations (assignments): 58 * 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,1), (2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000245/0.3357, allocations: 185.8 kB / 0.4901 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.638e-05/0.3358, allocations: 39.77 kB / 0.4902 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001246/0.337, allocations: 0.8764 MB / 0.491 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/0.3371, allocations: 7.984 kB / 0.491 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.843e-06/0.3371, allocations: 0 / 0.491 GB, free: 14.91 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001069/0.3381, allocations: 0.9708 MB / 0.492 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00203/0.3402, allocations: 1.483 MB / 0.4934 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.3402, allocations: 0 / 0.4934 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003138/0.3405, allocations: 83.92 kB / 0.4935 GB, free: 12.24 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003248/0.3437, allocations: 0.6179 MB / 0.4941 GB, free: 11.61 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.58e-05/0.3438, allocations: 16 kB / 0.4941 GB, free: 11.6 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001053/0.3448, allocations: 1.3 MB / 0.4954 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.3448, allocations: 7.875 kB / 0.4954 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001583/0.3464, allocations: 1.25 MB / 0.4966 GB, free: 8.961 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.094e-05/0.3465, allocations: 43.69 kB / 0.4967 GB, free: 8.918 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.028e-05/0.3466, allocations: 15.94 kB / 0.4967 GB, free: 8.902 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002372/0.3468, allocations: 12 kB / 0.4967 GB, free: 8.891 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.51e-05/0.3469, allocations: 31.94 kB / 0.4967 GB, free: 8.859 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.353e-05/0.3469, allocations: 12 kB / 0.4967 GB, free: 8.848 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002269/0.3471, allocations: 219.1 kB / 0.4969 GB, free: 8.633 MB / 414.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3471, allocations: 0 / 0.4969 GB, free: 8.633 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007163/0.3478, allocations: 227.7 kB / 0.4972 GB, free: 8.41 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.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 (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002372/0.3502, allocations: 1.972 MB / 0.4991 GB, free: 6.406 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001224/0.3514, allocations: 0.6759 MB / 0.4997 GB, free: 5.715 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3514, allocations: 0 / 0.4997 GB, free: 5.715 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009123/0.3523, allocations: 428.4 kB / 0.5002 GB, free: 5.293 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001243/0.3536, allocations: 241 kB / 0.5004 GB, free: 5.059 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005977/0.3596, allocations: 4.501 MB / 0.5048 GB, free: 376 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004965/0.3601, allocations: 0.8362 MB / 0.5056 GB, free: 15.5 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002773/0.3603, allocations: 72.34 kB / 0.5057 GB, free: 15.43 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002061/0.3605, allocations: 159.4 kB / 0.5058 GB, free: 15.27 MB / 430.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3605, allocations: 0 / 0.5058 GB, free: 15.27 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0452/0.4057, allocations: 18.05 MB / 0.5234 GB, free: 13.33 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.02/13.43, allocations: 10.88 kB / 0.5235 GB, free: 13.32 MB / 446.1 MB " [Timeout remaining time 646] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_ReferenceAir_DryAir2_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_ReferenceAir_DryAir2.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.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: 19.753377715009265]