Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001534/0.001534, allocations: 109.9 kB / 21.18 MB, free: 0.6992 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001715/0.001715, allocations: 216.7 kB / 24.5 MB, free: 4.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.371/1.371, allocations: 207.6 MB / 235.3 MB, free: 10.01 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001774/0.001774, allocations: 59.92 kB / 347.2 MB, free: 10.05 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2544/0.2562, allocations: 49.16 MB / 396.4 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02788/0.284, allocations: 27.36 MB / 423.7 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005681/0.2897, allocations: 4.199 MB / 427.9 MB, free: 1.211 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004047/0.2901, allocations: 7.656 kB / 427.9 MB, free: 1.207 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008119/0.2909, allocations: 206.9 kB / 428.1 MB, free: 1.031 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009078/0.2918, allocations: 341.1 kB / 428.5 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004673/0.2965, allocations: 1.486 MB / 430 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001291/0.2978, allocations: 0.8935 MB / 430.8 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002112/0.298, allocations: 83.08 kB / 430.9 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006932/0.3049, allocations: 4.137 MB / 435.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004218/0.3054, allocations: 298.8 kB / 435.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.863e-05/0.3054, allocations: 32 kB / 435.4 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001573/0.307, allocations: 0.7298 MB / 436.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001281/0.3071, allocations: 95.72 kB / 436.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002325/0.3073, allocations: 199.2 kB / 436.4 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001219/0.3086, allocations: 0.853 MB / 437.3 MB, free: 10.35 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3086, allocations: 0 / 437.3 MB, free: 10.35 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3086, allocations: 0 / 437.3 MB, free: 10.35 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.3086, allocations: 0 / 437.3 MB, free: 10.35 MB / 350.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.0009354/0.3095, allocations: 0.5789 MB / 437.8 MB, free: 9.738 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.3096, allocations: 11.98 kB / 437.8 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.926e-05/0.3096, allocations: 74.72 kB / 437.9 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004442/0.3101, allocations: 56.72 kB / 438 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003826/0.3105, allocations: 226 kB / 438.2 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.248e-05/0.3105, allocations: 21.03 kB / 438.2 MB, free: 9.324 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.835e-05/0.3105, allocations: 32.36 kB / 438.3 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005291/0.3111, allocations: 339.5 kB / 438.6 MB, free: 8.922 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.3111, allocations: 0 / 438.6 MB, free: 8.922 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.146e-05/0.3111, allocations: 12 kB / 438.6 MB, free: 8.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.3111, allocations: 8 kB / 438.6 MB, free: 8.902 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003445/0.3115, allocations: 217.8 kB / 438.8 MB, free: 8.691 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01294/0.3244, allocations: 4.664 MB / 443.5 MB, free: 3.828 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003426/0.3247, allocations: 170.6 kB / 443.6 MB, free: 3.652 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001463/0.3249, allocations: 80.83 kB / 443.7 MB, free: 3.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01053/0.3354, allocations: 2.676 MB / 446.4 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.447e-05/0.3355, allocations: 34.56 kB / 446.4 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.844e-06/0.3355, allocations: 3.938 kB / 446.4 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.006314/0.3418, allocations: 1.26 MB / 447.7 MB, free: 15.54 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.3418, allocations: 59.41 kB / 447.8 MB, free: 15.47 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003328/0.3422, allocations: 265.7 kB / 448 MB, free: 15.2 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.619e-05/0.3422, allocations: 29.7 kB / 448 MB, free: 15.16 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001582/0.3423, allocations: 192.4 kB / 448.2 MB, free: 14.97 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.992e-05/0.3424, allocations: 91.22 kB / 448.3 MB, free: 14.88 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001038/0.3425, allocations: 69.64 kB / 448.4 MB, free: 14.81 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.3427, allocations: 342.8 kB / 448.7 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001687/0.3429, allocations: 87.75 kB / 448.8 MB, free: 14.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002392/0.3431, allocations: 198.9 kB / 449 MB, free: 14.14 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004352/0.3435, allocations: 299 kB / 449.3 MB, free: 13.81 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3435, allocations: 0 / 449.3 MB, free: 13.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007726/0.3443, allocations: 402.8 kB / 449.7 MB, free: 13.41 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.009e-05/0.3443, allocations: 8 kB / 449.7 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.3443, allocations: 0 / 449.7 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00408/0.3484, allocations: 0.9303 MB / 450.6 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002731/0.3487, allocations: 67.91 kB / 450.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001762/0.3504, allocations: 1.878 MB / 452.6 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001993/0.3506, allocations: 8 kB / 452.6 MB, free: 10.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.782e-05/0.3507, allocations: 20 kB / 452.6 MB, free: 10.35 MB / 366.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.000194/0.3509, allocations: 161.8 kB / 452.8 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.924e-05/0.3509, allocations: 31.81 kB / 452.8 MB, free: 10.15 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000821/0.3518, allocations: 0.4948 MB / 453.3 MB, free: 9.641 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.236e-06/0.3518, allocations: 4.031 kB / 453.3 MB, free: 9.637 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.743e-06/0.3518, allocations: 0 / 453.3 MB, free: 9.637 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007355/0.3525, allocations: 0.7248 MB / 454 MB, free: 8.824 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001375/0.3539, allocations: 0.933 MB / 454.9 MB, free: 7.836 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.3539, allocations: 0 / 454.9 MB, free: 7.836 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001939/0.3541, allocations: 43.97 kB / 455 MB, free: 7.793 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001775/0.3559, allocations: 316.4 kB / 455.3 MB, free: 7.48 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.89e-05/0.3559, allocations: 11.98 kB / 455.3 MB, free: 7.469 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005761/0.3565, allocations: 0.6615 MB / 456 MB, free: 6.781 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.3565, allocations: 0 / 456 MB, free: 6.781 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009871/0.3575, allocations: 0.7332 MB / 456.7 MB, free: 6.023 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.975e-05/0.3575, allocations: 27.83 kB / 456.7 MB, free: 5.996 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.234e-05/0.3576, allocations: 4 kB / 456.7 MB, free: 5.992 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001723/0.3577, allocations: 8 kB / 456.7 MB, free: 5.984 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.295e-05/0.3578, allocations: 19.97 kB / 456.8 MB, free: 5.965 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.051e-05/0.3578, allocations: 7.984 kB / 456.8 MB, free: 5.957 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001856/0.358, allocations: 185.2 kB / 457 MB, free: 5.781 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.358, allocations: 0 / 457 MB, free: 5.781 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006604/0.3586, allocations: 187.7 kB / 457.1 MB, free: 5.598 MB / 366.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.001871/0.3605, allocations: 1.438 MB / 458.6 MB, free: 4.125 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008348/0.3614, allocations: 450.9 kB / 459 MB, free: 3.672 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.3614, allocations: 0 / 459 MB, free: 3.672 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005255/0.3619, allocations: 232.2 kB / 459.2 MB, free: 3.445 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009307/0.3628, allocations: 172.1 kB / 459.4 MB, free: 3.277 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004853/0.3677, allocations: 3.332 MB / 462.7 MB, free: 15.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000424/0.3681, allocations: 0.7798 MB / 463.5 MB, free: 14.96 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002107/0.3683, allocations: 54.94 kB / 463.6 MB, free: 14.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001521/0.3684, allocations: 99.41 kB / 463.7 MB, free: 14.81 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3685, allocations: 0 / 463.7 MB, free: 14.81 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04964/0.4181, allocations: 13.85 MB / 477.5 MB, free: 0.8984 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.92/13.33, allocations: 11.84 kB / 477.5 MB, free: 0.8867 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir1_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_ReferenceAir_DryAir1.fmu > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.83814274193719]