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.001224/0.001224, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 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.00141/0.00141, allocations: 157.4 kB / 23.93 MB, free: 0.6289 MB / 18.57 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 0.8591/0.8591, allocations: 173.4 MB / 200.4 MB, free: 9.422 MB / 186.7 MB " [Timeout remaining time 179] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir1,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Examples_ReferenceAir_DryAir1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.405e-06/2.405e-06, allocations: 0 / 318.4 MB, free: 6.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.298e-05/2.539e-05, allocations: 2.281 kB / 318.4 MB, free: 6.227 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.01744/0.01747, allocations: 24.37 MB / 342.8 MB, free: 13.76 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003186/0.02066, allocations: 3.754 MB / 346.6 MB, free: 9.984 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002014/0.02086, allocations: 15.88 kB / 346.6 MB, free: 9.969 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000539/0.0214, allocations: 190.7 kB / 346.8 MB, free: 9.781 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005069/0.0219, allocations: 349.7 kB / 347.1 MB, free: 9.438 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00331/0.02521, allocations: 1.51 MB / 348.6 MB, free: 7.926 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008968/0.02611, allocations: 0.8869 MB / 349.5 MB, free: 7.035 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001838/0.02629, allocations: 72.86 kB / 349.6 MB, free: 6.969 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004328/0.03062, allocations: 4.279 MB / 353.9 MB, free: 2.684 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002719/0.03089, allocations: 259.2 kB / 354.1 MB, free: 2.43 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.489e-05/0.03093, allocations: 28 kB / 354.1 MB, free: 2.402 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001024/0.03195, allocations: 0.7023 MB / 354.8 MB, free: 1.699 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001146/0.03207, allocations: 103.6 kB / 354.9 MB, free: 1.598 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001456/0.03221, allocations: 151.7 kB / 355.1 MB, free: 1.449 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009565/0.03317, allocations: 0.9625 MB / 356.1 MB, free: 496 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.03317, allocations: 0 / 356.1 MB, free: 496 kB / 314.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.03318, allocations: 0 / 356.1 MB, free: 496 kB / 314.7 MB Notification: Performance of Transformations before backend: time 5.77e-06/0.03318, allocations: 0 / 356.1 MB, free: 496 kB / 314.7 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.0007543/0.03394, allocations: 0.5751 MB / 356.6 MB, free: 15.88 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/0.03399, allocations: 8.922 kB / 356.6 MB, free: 15.87 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.471e-05/0.03405, allocations: 62.72 kB / 356.7 MB, free: 15.8 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002813/0.03433, allocations: 64.61 kB / 356.8 MB, free: 15.74 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003836/0.03472, allocations: 229.3 kB / 357 MB, free: 15.49 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.868e-05/0.03474, allocations: 28.95 kB / 357 MB, free: 15.46 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.469e-05/0.03477, allocations: 24.38 kB / 357 MB, free: 15.44 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004356/0.03521, allocations: 0.4905 MB / 357.5 MB, free: 14.87 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.03522, allocations: 4.125 kB / 357.5 MB, free: 14.87 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.717e-05/0.03525, allocations: 15.94 kB / 357.5 MB, free: 14.85 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.03526, allocations: 8 kB / 357.6 MB, free: 14.84 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002366/0.0355, allocations: 209.8 kB / 357.8 MB, free: 14.64 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006239/0.04174, allocations: 4.125 MB / 361.9 MB, free: 10.43 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002536/0.04199, allocations: 173.6 kB / 362.1 MB, free: 10.26 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.918e-05/0.04209, allocations: 88.81 kB / 362.1 MB, free: 10.17 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004449/0.04654, allocations: 2.676 MB / 364.8 MB, free: 7.488 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.286e-05/0.04657, allocations: 38.56 kB / 364.9 MB, free: 7.441 MB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 2.174e-06/0.04657, allocations: 0 / 364.9 MB, free: 7.441 MB / 330.7 MB Notification: Performance of matching and sorting (n=26): time 0.003419/0.04999, allocations: 1.26 MB / 366.1 MB, free: 6.141 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.05003, allocations: 55.41 kB / 366.2 MB, free: 6.074 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002179/0.05024, allocations: 261.8 kB / 366.4 MB, free: 5.809 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.043e-05/0.05026, allocations: 37.7 kB / 366.5 MB, free: 5.766 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.163e-05/0.05036, allocations: 192.4 kB / 366.6 MB, free: 5.57 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.906e-05/0.05042, allocations: 91.22 kB / 366.7 MB, free: 5.48 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.226e-05/0.0505, allocations: 69.66 kB / 366.8 MB, free: 5.406 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.061e-05/0.05059, allocations: 334.8 kB / 367.1 MB, free: 5.07 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.0507, allocations: 91.95 kB / 367.2 MB, free: 4.98 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001492/0.05085, allocations: 186.8 kB / 367.4 MB, free: 4.758 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002816/0.05113, allocations: 307 kB / 367.7 MB, free: 4.418 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.05113, allocations: 0 / 367.7 MB, free: 4.418 MB / 330.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004538/0.05158, allocations: 402.8 kB / 368.1 MB, free: 4.012 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.0516, allocations: 8 kB / 368.1 MB, free: 4.004 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.05161, allocations: 0 / 368.1 MB, free: 4.004 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002017/0.05363, allocations: 0.9426 MB / 369 MB, free: 3.066 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001645/0.05379, allocations: 67.84 kB / 369.1 MB, free: 3 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001144/0.05493, allocations: 1.867 MB / 371 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001471/0.05508, allocations: 12 kB / 371 MB, free: 0.9844 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.568e-05/0.0551, allocations: 12 kB / 371 MB, free: 0.9727 MB / 330.7 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.0001617/0.05526, allocations: 153.9 kB / 371.2 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.391e-05/0.0553, allocations: 39.73 kB / 371.2 MB, free: 0.7734 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005225/0.05583, allocations: 495 kB / 371.7 MB, free: 280 kB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.786e-06/0.05583, allocations: 11.92 kB / 371.7 MB, free: 268 kB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.234e-06/0.05584, allocations: 0 / 371.7 MB, free: 268 kB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004698/0.05631, allocations: 0.732 MB / 372.4 MB, free: 15.44 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008926/0.0572, allocations: 0.879 MB / 373.3 MB, free: 14.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.0572, allocations: 0 / 373.3 MB, free: 14.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.05732, allocations: 47.91 kB / 373.3 MB, free: 14.46 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008236/0.05814, allocations: 324.3 kB / 373.7 MB, free: 14.14 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.05816, allocations: 11.98 kB / 373.7 MB, free: 14.12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003645/0.05852, allocations: 0.6422 MB / 374.3 MB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.05853, allocations: 3.984 kB / 374.3 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006359/0.05916, allocations: 0.7331 MB / 375.1 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.639e-05/0.05922, allocations: 35.89 kB / 375.1 MB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.929e-05/0.05925, allocations: 11.94 kB / 375.1 MB, free: 12.65 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.458e-05/0.05934, allocations: 4 kB / 375.1 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.791e-05/0.05937, allocations: 19.97 kB / 375.1 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/0.05939, allocations: 8 kB / 375.1 MB, free: 12.62 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001321/0.05952, allocations: 189.2 kB / 375.3 MB, free: 12.44 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.05952, allocations: 0 / 375.3 MB, free: 12.44 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005234/0.06004, allocations: 183.7 kB / 375.5 MB, free: 12.26 MB / 346.7 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.00123/0.06127, allocations: 1.475 MB / 377 MB, free: 10.75 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0005867/0.06186, allocations: 446.4 kB / 377.4 MB, free: 10.3 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.06186, allocations: 0.75 kB / 377.4 MB, free: 10.3 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003328/0.06219, allocations: 227.8 kB / 377.6 MB, free: 10.08 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005908/0.06278, allocations: 170.8 kB / 377.8 MB, free: 9.914 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003108/0.06589, allocations: 3.269 MB / 381.1 MB, free: 6.469 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001182/0.06601, allocations: 172.2 kB / 381.2 MB, free: 6.281 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001779/0.06619, allocations: 54.92 kB / 381.3 MB, free: 6.23 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.06629, allocations: 100.5 kB / 381.4 MB, free: 6.129 MB / 346.7 MB Notification: Performance of SimCode: time 1.052e-06/0.06629, allocations: 4 kB / 381.4 MB, free: 6.125 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03355/0.09984, allocations: 14.54 MB / 395.9 MB, free: 7.812 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.761/7.861, allocations: 6.969 kB / 395.9 MB, free: 7.809 MB / 362.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","/var/lib/jenkins/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: 10.30633538030088]