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.001316/0.001316, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001383/0.001383, allocations: 218.2 kB / 24.52 MB, free: 3.91 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.354/1.354, allocations: 230.5 MB / 258.2 MB, free: 7.77 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.00176/0.00176, allocations: 59.91 kB / 378.5 MB, free: 2.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2505, allocations: 53.41 MB / 431.9 MB, free: 6.438 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02728/0.2778, allocations: 24.52 MB / 456.4 MB, free: 13.83 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004937/0.2828, allocations: 3.782 MB / 460.2 MB, free: 10.03 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001629/0.2829, allocations: 7.938 kB / 460.2 MB, free: 10.02 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006704/0.2836, allocations: 190.8 kB / 460.4 MB, free: 9.836 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006889/0.2843, allocations: 346.1 kB / 460.8 MB, free: 9.496 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004242/0.2885, allocations: 1.462 MB / 462.2 MB, free: 8.035 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001035/0.2896, allocations: 0.9068 MB / 463.1 MB, free: 7.125 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001739/0.2897, allocations: 68.47 kB / 463.2 MB, free: 7.066 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006334/0.2961, allocations: 4.143 MB / 467.3 MB, free: 2.918 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000405/0.2965, allocations: 294.8 kB / 467.6 MB, free: 2.629 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.398e-05/0.2965, allocations: 32 kB / 467.6 MB, free: 2.598 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001272/0.2978, allocations: 0.7259 MB / 468.4 MB, free: 1.871 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001353/0.2979, allocations: 99.66 kB / 468.5 MB, free: 1.773 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002011/0.2981, allocations: 167.4 kB / 468.6 MB, free: 1.609 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001177/0.2993, allocations: 0.8531 MB / 469.5 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.2993, allocations: 0 / 469.5 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2993, allocations: 4 kB / 469.5 MB, free: 0.75 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.2993, allocations: 0 / 469.5 MB, free: 0.75 MB / 366.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.001044/0.3004, allocations: 0.5828 MB / 470.1 MB, free: 140 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.3004, allocations: 8.031 kB / 470.1 MB, free: 132 kB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.401e-05/0.3004, allocations: 8.844 kB / 470.1 MB, free: 124 kB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.11e-05/0.3005, allocations: 62.72 kB / 470.2 MB, free: 52 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004544/0.301, allocations: 65.53 kB / 470.2 MB, free: 15.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004359/0.3014, allocations: 225.9 kB / 470.4 MB, free: 15.74 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.649e-05/0.3014, allocations: 21.03 kB / 470.5 MB, free: 15.71 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.502e-05/0.3015, allocations: 27.38 kB / 470.5 MB, free: 15.69 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006256/0.3021, allocations: 493.8 kB / 471 MB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.3021, allocations: 0 / 471 MB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.688e-05/0.3022, allocations: 15.98 kB / 471 MB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.3022, allocations: 8 kB / 471 MB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003472/0.3025, allocations: 213.8 kB / 471.2 MB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01211/0.3146, allocations: 4.152 MB / 475.4 MB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003236/0.315, allocations: 166.1 kB / 475.5 MB, free: 10.51 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001451/0.3151, allocations: 80.83 kB / 475.6 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01017/0.3253, allocations: 2.68 MB / 478.3 MB, free: 7.742 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.083e-05/0.3253, allocations: 46.81 kB / 478.3 MB, free: 7.688 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.853e-06/0.3253, allocations: 0 / 478.3 MB, free: 7.688 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.00627/0.3316, allocations: 1.264 MB / 479.6 MB, free: 6.383 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.351e-05/0.3317, allocations: 55.34 kB / 479.6 MB, free: 6.316 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003067/0.332, allocations: 257.9 kB / 479.9 MB, free: 6.055 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.206e-05/0.332, allocations: 41.64 kB / 479.9 MB, free: 6.008 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001444/0.3321, allocations: 188.4 kB / 480.1 MB, free: 5.816 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.877e-05/0.3322, allocations: 99.16 kB / 480.2 MB, free: 5.719 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.3323, allocations: 65.69 kB / 480.3 MB, free: 5.648 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.3325, allocations: 342.8 kB / 480.6 MB, free: 5.305 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001585/0.3326, allocations: 87.97 kB / 480.7 MB, free: 5.219 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002395/0.3329, allocations: 186.9 kB / 480.9 MB, free: 4.996 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004295/0.3333, allocations: 307.7 kB / 481.2 MB, free: 4.656 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.3333, allocations: 4 kB / 481.2 MB, free: 4.652 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006819/0.334, allocations: 390.8 kB / 481.6 MB, free: 4.258 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.651e-05/0.334, allocations: 8 kB / 481.6 MB, free: 4.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.334, allocations: 7.984 kB / 481.6 MB, free: 4.242 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004192/0.3382, allocations: 0.9286 MB / 482.5 MB, free: 3.316 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002616/0.3385, allocations: 67.91 kB / 482.6 MB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001811/0.3403, allocations: 1.874 MB / 484.4 MB, free: 1.234 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001721/0.3405, allocations: 8 kB / 484.5 MB, free: 1.227 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.908e-05/0.3405, allocations: 19.98 kB / 484.5 MB, free: 1.207 MB / 382.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.000192/0.3407, allocations: 153.7 kB / 484.6 MB, free: 1.047 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.307e-05/0.3408, allocations: 27.86 kB / 484.7 MB, free: 1.02 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007935/0.3415, allocations: 0.4948 MB / 485.1 MB, free: 0.5078 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.785e-06/0.3416, allocations: 8.062 kB / 485.2 MB, free: 0.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-06/0.3416, allocations: 0 / 485.2 MB, free: 0.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007707/0.3423, allocations: 0.7241 MB / 485.9 MB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001307/0.3436, allocations: 0.8903 MB / 486.8 MB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.3436, allocations: 0 / 486.8 MB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001845/0.3438, allocations: 39.98 kB / 486.8 MB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001776/0.3456, allocations: 324.4 kB / 487.1 MB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.291e-05/0.3456, allocations: 12 kB / 487.1 MB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005738/0.3462, allocations: 0.646 MB / 487.8 MB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3462, allocations: 0 / 487.8 MB, free: 13.7 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.3472, allocations: 0.7447 MB / 488.5 MB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.965e-05/0.3473, allocations: 31.86 kB / 488.6 MB, free: 12.9 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.567e-05/0.3473, allocations: 8 kB / 488.6 MB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001667/0.3475, allocations: 7.938 kB / 488.6 MB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.733e-05/0.3475, allocations: 24.09 kB / 488.6 MB, free: 12.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.426e-05/0.3475, allocations: 11.98 kB / 488.6 MB, free: 12.85 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000207/0.3477, allocations: 189.2 kB / 488.8 MB, free: 12.66 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3477, allocations: 0 / 488.8 MB, free: 12.66 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006704/0.3484, allocations: 183.7 kB / 489 MB, free: 12.48 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.001824/0.3502, allocations: 1.433 MB / 490.4 MB, free: 11.02 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00082/0.351, allocations: 450.5 kB / 490.8 MB, free: 10.56 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.3511, allocations: 0 / 490.8 MB, free: 10.56 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005399/0.3516, allocations: 232.4 kB / 491.1 MB, free: 10.34 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000875/0.3525, allocations: 172.1 kB / 491.2 MB, free: 10.17 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004347/0.3568, allocations: 3.341 MB / 494.6 MB, free: 6.664 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001754/0.357, allocations: 168.2 kB / 494.7 MB, free: 6.477 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001866/0.3572, allocations: 46.94 kB / 494.8 MB, free: 6.43 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001549/0.3573, allocations: 107.4 kB / 494.9 MB, free: 6.324 MB / 398.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3573, allocations: 4 kB / 494.9 MB, free: 6.32 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04061/0.3979, allocations: 14.18 MB / 0.4971 GB, free: 8.332 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.08/13.48, allocations: 7.938 kB / 0.4972 GB, free: 8.324 MB / 414.1 MB " [Timeout remaining time 646] (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: 18.259308543987572]