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.001477/0.001477, allocations: 116.7 kB / 20.43 MB, free: 1.457 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.001652/0.001652, allocations: 214.3 kB / 23.75 MB, free: 4.672 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.4/1.4, allocations: 230.5 MB / 257.4 MB, free: 7.996 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001842/0.001842, allocations: 67.89 kB / 377.8 MB, free: 2.984 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2563/0.2582, allocations: 53.41 MB / 431.2 MB, free: 6.652 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02893/0.2871, allocations: 27.42 MB / 458.6 MB, free: 11.13 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005009/0.2921, allocations: 4.202 MB / 462.8 MB, free: 6.91 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001658/0.2923, allocations: 7.938 kB / 462.8 MB, free: 6.902 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006053/0.2929, allocations: 210.7 kB / 463 MB, free: 6.695 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006025/0.2935, allocations: 346 kB / 463.4 MB, free: 6.355 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003892/0.2974, allocations: 1.488 MB / 464.9 MB, free: 4.871 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001073/0.2984, allocations: 0.9068 MB / 465.8 MB, free: 3.961 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001785/0.2986, allocations: 68.91 kB / 465.8 MB, free: 3.898 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006477/0.3051, allocations: 4.143 MB / 470 MB, free: 15.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004195/0.3055, allocations: 294.8 kB / 470.3 MB, free: 15.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.895e-05/0.3056, allocations: 32 kB / 470.3 MB, free: 15.43 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001369/0.3069, allocations: 0.7298 MB / 471 MB, free: 14.7 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001149/0.307, allocations: 91.72 kB / 471.1 MB, free: 14.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002101/0.3073, allocations: 199.2 kB / 471.3 MB, free: 14.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001087/0.3083, allocations: 0.8414 MB / 472.1 MB, free: 13.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3083, allocations: 0 / 472.1 MB, free: 13.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3083, allocations: 4 kB / 472.2 MB, free: 13.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.163e-05/0.3084, allocations: 0 / 472.2 MB, free: 13.57 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.000892/0.3093, allocations: 0.5945 MB / 472.7 MB, free: 12.94 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.3093, allocations: 8.031 kB / 472.8 MB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.891e-05/0.3094, allocations: 62.72 kB / 472.8 MB, free: 12.86 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004292/0.3098, allocations: 56.73 kB / 472.9 MB, free: 12.81 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000464/0.3103, allocations: 230 kB / 473.1 MB, free: 12.56 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.665e-05/0.3103, allocations: 25.03 kB / 473.1 MB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.676e-05/0.3103, allocations: 24.38 kB / 473.1 MB, free: 12.51 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005022/0.3108, allocations: 339.5 kB / 473.5 MB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/0.3108, allocations: 3.938 kB / 473.5 MB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.902e-05/0.3109, allocations: 12 kB / 473.5 MB, free: 12.13 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.778e-06/0.3109, allocations: 8 kB / 473.5 MB, free: 12.12 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003459/0.3112, allocations: 213.8 kB / 473.7 MB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01254/0.3238, allocations: 4.668 MB / 478.4 MB, free: 7.047 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003119/0.3241, allocations: 170 kB / 478.5 MB, free: 6.875 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001401/0.3242, allocations: 84.83 kB / 478.6 MB, free: 6.789 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009872/0.3341, allocations: 2.676 MB / 481.3 MB, free: 4.109 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.289e-05/0.3341, allocations: 38.56 kB / 481.3 MB, free: 4.062 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.873e-06/0.3341, allocations: 0 / 481.3 MB, free: 4.062 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.006087/0.3402, allocations: 1.272 MB / 482.6 MB, free: 2.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.643e-05/0.3403, allocations: 51.41 kB / 482.7 MB, free: 2.688 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002995/0.3406, allocations: 265.8 kB / 482.9 MB, free: 2.418 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.193e-05/0.3406, allocations: 33.7 kB / 483 MB, free: 2.379 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001717/0.3408, allocations: 192.4 kB / 483.1 MB, free: 2.184 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.516e-05/0.3409, allocations: 91.17 kB / 483.2 MB, free: 2.094 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.825e-05/0.341, allocations: 69.66 kB / 483.3 MB, free: 2.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.3411, allocations: 338.8 kB / 483.6 MB, free: 1.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001584/0.3413, allocations: 91.95 kB / 483.7 MB, free: 1.59 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002421/0.3415, allocations: 186.8 kB / 483.9 MB, free: 1.367 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004349/0.342, allocations: 303.8 kB / 484.2 MB, free: 1.031 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.342, allocations: 0 / 484.2 MB, free: 1.031 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006786/0.3426, allocations: 394.8 kB / 484.6 MB, free: 0.6328 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.3427, allocations: 4 kB / 484.6 MB, free: 0.6289 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/0.3427, allocations: 4 kB / 484.6 MB, free: 0.625 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004002/0.3467, allocations: 0.9367 MB / 485.5 MB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002786/0.347, allocations: 71.91 kB / 485.6 MB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001736/0.3487, allocations: 1.871 MB / 487.5 MB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001694/0.3489, allocations: 11.98 kB / 487.5 MB, free: 13.6 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.576e-05/0.3489, allocations: 16 kB / 487.5 MB, free: 13.59 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.000176/0.3491, allocations: 157.7 kB / 487.6 MB, free: 13.42 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.212e-05/0.3491, allocations: 27.81 kB / 487.7 MB, free: 13.39 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007809/0.3499, allocations: 0.4949 MB / 488.2 MB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/0.3499, allocations: 4 kB / 488.2 MB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-06/0.3499, allocations: 0 / 488.2 MB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007731/0.3507, allocations: 0.7279 MB / 488.9 MB, free: 12.06 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001357/0.352, allocations: 0.9255 MB / 489.8 MB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.191e-06/0.3521, allocations: 4 kB / 489.8 MB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001998/0.3523, allocations: 43.92 kB / 489.9 MB, free: 11.03 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001676/0.3539, allocations: 324.5 kB / 490.2 MB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.929e-05/0.3539, allocations: 4 kB / 490.2 MB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005426/0.3545, allocations: 0.646 MB / 490.8 MB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3545, allocations: 8.094 kB / 490.9 MB, free: 10.03 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009932/0.3555, allocations: 0.7408 MB / 491.6 MB, free: 9.262 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.241e-05/0.3555, allocations: 31.88 kB / 491.6 MB, free: 9.23 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.054e-05/0.3556, allocations: 11.98 kB / 491.6 MB, free: 9.219 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001636/0.3557, allocations: 4 kB / 491.6 MB, free: 9.215 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.207e-05/0.3558, allocations: 20.03 kB / 491.7 MB, free: 9.195 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-05/0.3558, allocations: 11.98 kB / 491.7 MB, free: 9.184 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001856/0.356, allocations: 189.2 kB / 491.9 MB, free: 9 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.356, allocations: 0 / 491.9 MB, free: 9 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006145/0.3566, allocations: 179.8 kB / 492 MB, free: 8.824 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.001839/0.3584, allocations: 1.448 MB / 493.5 MB, free: 7.34 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008288/0.3593, allocations: 447.1 kB / 493.9 MB, free: 6.891 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3593, allocations: 0 / 493.9 MB, free: 6.891 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005108/0.3598, allocations: 231.8 kB / 494.1 MB, free: 6.664 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008794/0.3607, allocations: 164.2 kB / 494.3 MB, free: 6.504 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004317/0.365, allocations: 3.343 MB / 497.6 MB, free: 3 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004547/0.3654, allocations: 0.7721 MB / 498.4 MB, free: 2.199 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002035/0.3656, allocations: 54.94 kB / 498.5 MB, free: 2.141 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000145/0.3658, allocations: 107.4 kB / 498.6 MB, free: 2.035 MB / 398.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3658, allocations: 0 / 498.6 MB, free: 2.035 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04371/0.4095, allocations: 13.83 MB / 0.5004 GB, free: 4.328 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.83/13.24, allocations: 7.922 kB / 0.5004 GB, free: 4.32 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: 16.801902781939134]