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.001312/0.001312, allocations: 107.6 kB / 21.18 MB, free: 0.6094 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.00151/0.00151, allocations: 215 kB / 24.48 MB, free: 3.934 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.349/1.349, allocations: 207.7 MB / 235.3 MB, free: 9.812 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.001808/0.001808, allocations: 54.58 kB / 347.2 MB, free: 9.895 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.264/0.2658, allocations: 49.16 MB / 396.4 MB, free: 8.879 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.02684/0.2926, allocations: 24.49 MB / 420.8 MB, free: 7.617 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005618/0.2983, allocations: 3.781 MB / 424.6 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003946/0.2987, allocations: 4.125 kB / 424.6 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008283/0.2995, allocations: 201.3 kB / 424.8 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000929/0.3004, allocations: 337.7 kB / 425.2 MB, free: 4.199 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00501/0.3054, allocations: 1.458 MB / 426.6 MB, free: 3.117 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001398/0.3068, allocations: 0.9003 MB / 427.5 MB, free: 2.605 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002395/0.3071, allocations: 70.41 kB / 427.6 MB, free: 2.562 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007187/0.3143, allocations: 4.138 MB / 431.7 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005892/0.3148, allocations: 278.8 kB / 432 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001158/0.315, allocations: 32 kB / 432 MB, free: 15.42 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001905/0.3169, allocations: 0.7024 MB / 432.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001841/0.317, allocations: 103.6 kB / 432.8 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003515/0.3174, allocations: 159.5 kB / 433 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002082/0.3195, allocations: 0.8569 MB / 433.8 MB, free: 13.6 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.3195, allocations: 0 / 433.8 MB, free: 13.6 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.474e-06/0.3195, allocations: 0 / 433.8 MB, free: 13.6 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.799e-05/0.3195, allocations: 0 / 433.8 MB, free: 13.6 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.001279/0.3208, allocations: 0.5906 MB / 434.4 MB, free: 12.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.3208, allocations: 15.98 kB / 434.4 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.812e-05/0.3209, allocations: 58.73 kB / 434.5 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005187/0.3214, allocations: 60.72 kB / 434.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000559/0.322, allocations: 226 kB / 434.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.726e-05/0.322, allocations: 17.03 kB / 434.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.711e-05/0.3221, allocations: 28.38 kB / 434.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007333/0.3228, allocations: 0.4899 MB / 435.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.256e-05/0.3228, allocations: 4 kB / 435.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.685e-05/0.3229, allocations: 12 kB / 435.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/0.3229, allocations: 4 kB / 435.3 MB, free: 11.96 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003988/0.3233, allocations: 209.8 kB / 435.5 MB, free: 11.76 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01275/0.336, allocations: 4.137 MB / 439.7 MB, free: 7.539 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003446/0.3364, allocations: 174.5 kB / 439.8 MB, free: 7.359 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001419/0.3365, allocations: 80.92 kB / 439.9 MB, free: 7.277 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01008/0.3466, allocations: 2.688 MB / 442.6 MB, free: 4.586 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.658e-05/0.3466, allocations: 34.56 kB / 442.6 MB, free: 4.543 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 2.354e-06/0.3467, allocations: 0 / 442.6 MB, free: 4.543 MB / 350.1 MB Notification: Performance of matching and sorting (n=26): time 0.006272/0.3529, allocations: 1.256 MB / 443.9 MB, free: 3.246 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.715e-05/0.353, allocations: 59.39 kB / 444 MB, free: 3.176 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003422/0.3533, allocations: 269.8 kB / 444.2 MB, free: 2.898 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.586e-05/0.3534, allocations: 29.7 kB / 444.3 MB, free: 2.863 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001505/0.3535, allocations: 188.5 kB / 444.4 MB, free: 2.676 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.714e-05/0.3536, allocations: 99.17 kB / 444.5 MB, free: 2.578 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.3537, allocations: 61.66 kB / 444.6 MB, free: 2.512 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.3539, allocations: 338.8 kB / 444.9 MB, free: 2.172 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001696/0.3541, allocations: 95.73 kB / 445 MB, free: 2.078 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002567/0.3543, allocations: 190.8 kB / 445.2 MB, free: 1.852 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004581/0.3548, allocations: 303 kB / 445.5 MB, free: 1.516 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.3548, allocations: 4 kB / 445.5 MB, free: 1.512 MB / 350.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007554/0.3555, allocations: 390.9 kB / 445.9 MB, free: 1.117 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.3556, allocations: 8 kB / 445.9 MB, free: 1.109 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.3556, allocations: 4.375 kB / 445.9 MB, free: 1.105 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004015/0.3596, allocations: 0.9338 MB / 446.8 MB, free: 168 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002962/0.3599, allocations: 71.91 kB / 446.9 MB, free: 96 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001804/0.3617, allocations: 1.874 MB / 448.8 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002152/0.3619, allocations: 16.03 kB / 448.8 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.664e-05/0.3619, allocations: 12 kB / 448.8 MB, free: 14.05 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.0002211/0.3621, allocations: 169.9 kB / 449 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.7e-05/0.3622, allocations: 23.86 kB / 449 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008522/0.3631, allocations: 0.4909 MB / 449.5 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.799e-05/0.3631, allocations: 7.984 kB / 449.5 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.3631, allocations: 0 / 449.5 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008219/0.3639, allocations: 0.7209 MB / 450.2 MB, free: 12.53 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001463/0.3654, allocations: 0.8905 MB / 451.1 MB, free: 11.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/0.3654, allocations: 3.938 kB / 451.1 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002016/0.3656, allocations: 51.94 kB / 451.2 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00174/0.3673, allocations: 320.3 kB / 451.5 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.882e-05/0.3674, allocations: 7.984 kB / 451.5 MB, free: 11.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006126/0.368, allocations: 0.6538 MB / 452.1 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.368, allocations: 0 / 452.1 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001075/0.369, allocations: 0.7332 MB / 452.9 MB, free: 9.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.318e-05/0.3691, allocations: 35.77 kB / 452.9 MB, free: 9.734 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.913e-05/0.3692, allocations: 8 kB / 452.9 MB, free: 9.727 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001757/0.3694, allocations: 4 kB / 452.9 MB, free: 9.723 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.666e-05/0.3694, allocations: 19.91 kB / 452.9 MB, free: 9.703 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-05/0.3694, allocations: 19.92 kB / 453 MB, free: 9.684 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002214/0.3697, allocations: 177.2 kB / 453.1 MB, free: 9.516 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3697, allocations: 0 / 453.1 MB, free: 9.516 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007364/0.3704, allocations: 187.7 kB / 453.3 MB, free: 9.332 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.002039/0.3724, allocations: 1.442 MB / 454.7 MB, free: 7.855 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008785/0.3733, allocations: 439.1 kB / 455.2 MB, free: 7.414 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.316e-06/0.3733, allocations: 4 kB / 455.2 MB, free: 7.41 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005424/0.3739, allocations: 231.7 kB / 455.4 MB, free: 7.184 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.3749, allocations: 172.2 kB / 455.6 MB, free: 7.016 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004718/0.3796, allocations: 3.332 MB / 458.9 MB, free: 3.512 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001998/0.3798, allocations: 176.2 kB / 459.1 MB, free: 3.32 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002425/0.38, allocations: 54.92 kB / 459.1 MB, free: 3.262 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001677/0.3802, allocations: 103.4 kB / 459.2 MB, free: 3.16 MB / 366.1 MB Notification: Performance of SimCode: time 9.72e-07/0.3802, allocations: 0 / 459.2 MB, free: 3.16 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0491/0.4293, allocations: 14.41 MB / 473.6 MB, free: 4.668 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.66/13.09, allocations: 3.906 kB / 473.7 MB, free: 4.664 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.54316783323884]