Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.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.001221/0.001221, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.001312/0.001312, allocations: 215.8 kB / 24.53 MB, free: 4.012 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.339/1.339, allocations: 230.5 MB / 258.2 MB, free: 8.016 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.DryAir1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001766/0.001766, allocations: 59.91 kB / 378.6 MB, free: 3.004 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2316, allocations: 53.4 MB / 432 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.03064/0.2623, allocations: 27.43 MB / 459.4 MB, free: 11.16 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005458/0.2677, allocations: 4.206 MB / 463.6 MB, free: 6.934 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002429/0.268, allocations: 7.938 kB / 463.6 MB, free: 6.926 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006599/0.2686, allocations: 210.7 kB / 463.8 MB, free: 6.719 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007547/0.2694, allocations: 334.1 kB / 464.2 MB, free: 6.391 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004018/0.2734, allocations: 1.485 MB / 465.6 MB, free: 4.91 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001268/0.2747, allocations: 0.9068 MB / 466.5 MB, free: 4 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001854/0.2748, allocations: 76.45 kB / 466.6 MB, free: 3.934 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006661/0.2815, allocations: 4.143 MB / 470.8 MB, free: 15.79 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004202/0.2819, allocations: 290.9 kB / 471 MB, free: 15.5 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.323e-05/0.282, allocations: 35.94 kB / 471.1 MB, free: 15.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001415/0.2834, allocations: 0.7298 MB / 471.8 MB, free: 14.73 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001205/0.2835, allocations: 95.72 kB / 471.9 MB, free: 14.64 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002313/0.2837, allocations: 199.2 kB / 472.1 MB, free: 14.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001175/0.2849, allocations: 0.8453 MB / 472.9 MB, free: 13.6 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.2849, allocations: 4 kB / 472.9 MB, free: 13.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2849, allocations: 0 / 472.9 MB, free: 13.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.224e-06/0.2849, allocations: 0 / 472.9 MB, free: 13.59 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0009269/0.2859, allocations: 0.5867 MB / 473.5 MB, free: 12.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.2859, allocations: 8.031 kB / 473.5 MB, free: 12.97 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.008e-05/0.2859, allocations: 12.84 kB / 473.6 MB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.939e-05/0.286, allocations: 58.73 kB / 473.6 MB, free: 12.89 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004241/0.2864, allocations: 60.72 kB / 473.7 MB, free: 12.83 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004181/0.2868, allocations: 230 kB / 473.9 MB, free: 12.58 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.7e-05/0.2869, allocations: 25.03 kB / 473.9 MB, free: 12.55 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.662e-05/0.2869, allocations: 28.12 kB / 473.9 MB, free: 12.53 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005165/0.2874, allocations: 339.5 kB / 474.3 MB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.2874, allocations: 0 / 474.3 MB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.551e-05/0.2875, allocations: 16 kB / 474.3 MB, free: 12.15 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.437e-06/0.2875, allocations: 8 kB / 474.3 MB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003612/0.2878, allocations: 217.7 kB / 474.5 MB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01228/0.3001, allocations: 4.664 MB / 479.2 MB, free: 7.066 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003256/0.3004, allocations: 166.7 kB / 479.3 MB, free: 6.895 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001431/0.3006, allocations: 88.77 kB / 479.4 MB, free: 6.805 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009892/0.3105, allocations: 2.68 MB / 482.1 MB, free: 4.121 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.954e-05/0.3105, allocations: 34.56 kB / 482.1 MB, free: 4.078 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.923e-06/0.3105, allocations: 0 / 482.1 MB, free: 4.078 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.006147/0.3167, allocations: 1.264 MB / 483.4 MB, free: 2.773 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/0.3167, allocations: 55.41 kB / 483.5 MB, free: 2.707 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002967/0.317, allocations: 257.9 kB / 483.7 MB, free: 2.445 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.412e-05/0.317, allocations: 37.7 kB / 483.7 MB, free: 2.402 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/0.3172, allocations: 192.4 kB / 483.9 MB, free: 2.207 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.76e-05/0.3172, allocations: 99.11 kB / 484 MB, free: 2.109 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.3174, allocations: 69.66 kB / 484.1 MB, free: 2.035 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.3175, allocations: 334.8 kB / 484.4 MB, free: 1.699 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001652/0.3177, allocations: 91.95 kB / 484.5 MB, free: 1.609 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000233/0.3179, allocations: 186.9 kB / 484.7 MB, free: 1.387 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004202/0.3183, allocations: 307.7 kB / 485 MB, free: 1.047 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.3183, allocations: 3.938 kB / 485 MB, free: 1.043 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006868/0.319, allocations: 382.9 kB / 485.4 MB, free: 0.6562 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.319, allocations: 8.375 kB / 485.4 MB, free: 0.6484 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.319, allocations: 8 kB / 485.4 MB, free: 0.6406 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004116/0.3231, allocations: 0.9285 MB / 486.3 MB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002771/0.3234, allocations: 75.84 kB / 486.4 MB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001727/0.3251, allocations: 1.871 MB / 488.3 MB, free: 13.63 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001905/0.3253, allocations: 12 kB / 488.3 MB, free: 13.62 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.821e-05/0.3254, allocations: 15.98 kB / 488.3 MB, free: 13.6 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.00019/0.3256, allocations: 157.8 kB / 488.4 MB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001224/0.3257, allocations: 27.81 kB / 488.5 MB, free: 13.41 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007924/0.3265, allocations: 0.4948 MB / 489 MB, free: 12.9 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.3265, allocations: 7.938 kB / 489 MB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/0.3265, allocations: 0 / 489 MB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007613/0.3272, allocations: 0.7279 MB / 489.7 MB, free: 12.07 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001395/0.3286, allocations: 0.9294 MB / 490.6 MB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.3286, allocations: 0 / 490.6 MB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001893/0.3288, allocations: 39.98 kB / 490.7 MB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001665/0.3305, allocations: 324.4 kB / 491 MB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.265e-05/0.3305, allocations: 4 kB / 491 MB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005464/0.3311, allocations: 0.6539 MB / 491.6 MB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.3311, allocations: 4.031 kB / 491.7 MB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.3321, allocations: 0.7409 MB / 492.4 MB, free: 9.277 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.695e-05/0.3321, allocations: 31.78 kB / 492.4 MB, free: 9.246 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.814e-05/0.3322, allocations: 8 kB / 492.4 MB, free: 9.238 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001706/0.3324, allocations: 4 kB / 492.4 MB, free: 9.234 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.549e-05/0.3324, allocations: 15.97 kB / 492.5 MB, free: 9.219 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.6e-05/0.3324, allocations: 19.92 kB / 492.5 MB, free: 9.199 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002015/0.3326, allocations: 185.2 kB / 492.7 MB, free: 9.02 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3326, allocations: 0 / 492.7 MB, free: 9.02 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006631/0.3333, allocations: 183.8 kB / 492.8 MB, free: 8.84 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001851/0.3351, allocations: 1.441 MB / 494.3 MB, free: 7.363 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008666/0.336, allocations: 450.3 kB / 494.7 MB, free: 6.91 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.336, allocations: 0 / 494.7 MB, free: 6.91 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00054/0.3366, allocations: 236.6 kB / 494.9 MB, free: 6.68 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009626/0.3375, allocations: 164.2 kB / 495.1 MB, free: 6.52 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004386/0.3419, allocations: 3.34 MB / 498.4 MB, free: 3.016 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003933/0.3423, allocations: 0.776 MB / 499.2 MB, free: 2.211 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001896/0.3425, allocations: 42.95 kB / 499.3 MB, free: 2.164 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001501/0.3426, allocations: 107.4 kB / 499.4 MB, free: 2.059 MB / 398.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3426, allocations: 0 / 499.4 MB, free: 2.059 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03971/0.3823, allocations: 13.87 MB / 0.5012 GB, free: 4.312 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.69/13.07, allocations: 7.969 kB / 0.5012 GB, free: 4.305 MB / 414.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_ReferenceAir_DryAir1_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_ReferenceAir_DryAir1.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir1.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: 17.7901214529993]