Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 108.6 kB / 21.22 MB, free: 0.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001423/0.001423, allocations: 192.8 kB / 24.5 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 225.7 MB / 253.3 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001407/0.001407, allocations: 43.94 kB / 371.2 MB, free: 9.941 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2516, allocations: 52.18 MB / 423.4 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02815/0.2798, allocations: 27.35 MB / 450.8 MB, free: 3.164 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005144/0.2849, allocations: 4.202 MB / 455 MB, free: 14.94 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002139/0.2851, allocations: 7.938 kB / 455 MB, free: 14.93 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006673/0.2858, allocations: 202.7 kB / 455.2 MB, free: 14.73 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006908/0.2865, allocations: 350.1 kB / 455.5 MB, free: 14.39 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003833/0.2903, allocations: 1.473 MB / 457 MB, free: 12.92 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001137/0.2915, allocations: 0.9145 MB / 457.9 MB, free: 12 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001896/0.2917, allocations: 76.88 kB / 458 MB, free: 11.93 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006579/0.2982, allocations: 4.139 MB / 462.1 MB, free: 7.789 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004196/0.2987, allocations: 298.9 kB / 462.4 MB, free: 7.496 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.774e-05/0.2987, allocations: 28 kB / 462.4 MB, free: 7.469 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001448/0.3002, allocations: 0.7376 MB / 463.2 MB, free: 6.73 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001316/0.3003, allocations: 95.61 kB / 463.3 MB, free: 6.637 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000209/0.3005, allocations: 195.2 kB / 463.5 MB, free: 6.445 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001117/0.3016, allocations: 0.8414 MB / 464.3 MB, free: 5.602 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.942e-06/0.3016, allocations: 4 kB / 464.3 MB, free: 5.598 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3016, allocations: 0 / 464.3 MB, free: 5.598 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.3016, allocations: 0 / 464.3 MB, free: 5.598 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.0009216/0.3025, allocations: 0.5868 MB / 464.9 MB, free: 4.98 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.3026, allocations: 8.031 kB / 464.9 MB, free: 4.973 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.864e-05/0.3026, allocations: 12.78 kB / 464.9 MB, free: 4.961 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.807e-05/0.3027, allocations: 70.64 kB / 465 MB, free: 4.883 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004204/0.3031, allocations: 56.73 kB / 465 MB, free: 4.828 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004639/0.3036, allocations: 237.9 kB / 465.3 MB, free: 4.57 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.3036, allocations: 17.03 kB / 465.3 MB, free: 4.551 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.148e-05/0.3036, allocations: 32.12 kB / 465.3 MB, free: 4.52 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005238/0.3041, allocations: 343.5 kB / 465.7 MB, free: 4.152 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.3042, allocations: 0 / 465.7 MB, free: 4.152 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.416e-05/0.3042, allocations: 12 kB / 465.7 MB, free: 4.141 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.3042, allocations: 8 kB / 465.7 MB, free: 4.133 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003466/0.3046, allocations: 209.8 kB / 465.9 MB, free: 3.93 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.012/0.3166, allocations: 4.657 MB / 470.5 MB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003014/0.3169, allocations: 172.3 kB / 470.7 MB, free: 14.9 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001402/0.317, allocations: 84.83 kB / 470.8 MB, free: 14.81 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009648/0.3266, allocations: 2.676 MB / 473.5 MB, free: 12.13 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/0.3267, allocations: 34.56 kB / 473.5 MB, free: 12.09 MB / 382.1 MB Notification: Performance of pre-optimization done (n=21): time 1.983e-06/0.3267, allocations: 4 kB / 473.5 MB, free: 12.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=26): time 0.006035/0.3327, allocations: 1.257 MB / 474.8 MB, free: 10.79 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/0.3328, allocations: 59.34 kB / 474.8 MB, free: 10.72 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003017/0.3331, allocations: 253.9 kB / 475.1 MB, free: 10.46 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.564e-05/0.3331, allocations: 29.7 kB / 475.1 MB, free: 10.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001428/0.3332, allocations: 192.4 kB / 475.3 MB, free: 10.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.192e-05/0.3333, allocations: 103.2 kB / 475.4 MB, free: 10.13 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.3334, allocations: 65.69 kB / 475.4 MB, free: 10.06 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.3336, allocations: 338.8 kB / 475.8 MB, free: 9.723 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001627/0.3337, allocations: 95.75 kB / 475.9 MB, free: 9.629 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002266/0.334, allocations: 179 kB / 476 MB, free: 9.414 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004166/0.3344, allocations: 299 kB / 476.3 MB, free: 9.082 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/0.3344, allocations: 7.938 kB / 476.3 MB, free: 9.074 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007105/0.3351, allocations: 394.9 kB / 476.7 MB, free: 8.676 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.3351, allocations: 11.94 kB / 476.7 MB, free: 8.664 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/0.3351, allocations: 4 kB / 476.7 MB, free: 8.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003992/0.3391, allocations: 0.9345 MB / 477.7 MB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002594/0.3394, allocations: 67.91 kB / 477.7 MB, free: 7.664 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001753/0.3411, allocations: 1.878 MB / 479.6 MB, free: 5.645 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001927/0.3413, allocations: 8 kB / 479.6 MB, free: 5.637 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.263e-05/0.3413, allocations: 16 kB / 479.6 MB, free: 5.621 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.000181/0.3415, allocations: 153.7 kB / 479.8 MB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.643e-05/0.3416, allocations: 27.86 kB / 479.8 MB, free: 5.434 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000784/0.3424, allocations: 0.4944 MB / 480.3 MB, free: 4.922 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/0.3424, allocations: 11.98 kB / 480.3 MB, free: 4.91 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.3424, allocations: 4 kB / 480.3 MB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007532/0.3432, allocations: 0.7283 MB / 481.1 MB, free: 4.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001385/0.3445, allocations: 0.9216 MB / 482 MB, free: 3.113 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-06/0.3446, allocations: 4 kB / 482 MB, free: 3.109 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001908/0.3447, allocations: 47.91 kB / 482 MB, free: 3.062 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001663/0.3464, allocations: 312.5 kB / 482.3 MB, free: 2.754 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.042e-05/0.3464, allocations: 8 kB / 482.3 MB, free: 2.746 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005542/0.347, allocations: 0.6577 MB / 483 MB, free: 2.062 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.347, allocations: 4.062 kB / 483 MB, free: 2.059 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009653/0.348, allocations: 0.7367 MB / 483.7 MB, free: 1.297 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.907e-05/0.348, allocations: 27.78 kB / 483.8 MB, free: 1.27 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.497e-05/0.3481, allocations: 8 kB / 483.8 MB, free: 1.262 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001689/0.3482, allocations: 7.984 kB / 483.8 MB, free: 1.254 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.665e-05/0.3483, allocations: 24.03 kB / 483.8 MB, free: 1.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.272e-05/0.3483, allocations: 8 kB / 483.8 MB, free: 1.223 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001959/0.3485, allocations: 189.1 kB / 484 MB, free: 1.035 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3485, allocations: 0 / 484 MB, free: 1.035 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006743/0.3492, allocations: 187.7 kB / 484.2 MB, free: 0.8516 MB / 382.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.001884/0.3511, allocations: 1.442 MB / 485.6 MB, free: 15.38 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008231/0.3519, allocations: 451.1 kB / 486.1 MB, free: 14.92 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3519, allocations: 4 kB / 486.1 MB, free: 14.92 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005059/0.3524, allocations: 227.5 kB / 486.3 MB, free: 14.7 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009371/0.3533, allocations: 175.1 kB / 486.5 MB, free: 14.53 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00442/0.3578, allocations: 3.318 MB / 489.8 MB, free: 11.05 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004029/0.3582, allocations: 0.7799 MB / 490.6 MB, free: 10.24 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001991/0.3584, allocations: 50.94 kB / 490.6 MB, free: 10.18 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001461/0.3585, allocations: 103.4 kB / 490.7 MB, free: 10.08 MB / 398.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3585, allocations: 3.938 kB / 490.7 MB, free: 10.08 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04344/0.4019, allocations: 13.88 MB / 0.4928 GB, free: 12.39 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.67/13.08, allocations: 11.98 kB / 0.4928 GB, free: 12.38 MB / 414.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir1_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir1.fmu > Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.797674602014013]