Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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.Tests.MediaTestModels.Air.SimpleAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001029/0.00103, allocations: 103.4 kB / 17.16 MB, free: 6.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009437/0.0009437, allocations: 190 kB / 18.07 MB, free: 5.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.258/1.258, allocations: 205.1 MB / 223.9 MB, free: 12.39 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001081/0.001081, allocations: 43.94 kB / 280.1 MB, free: 3.461 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07416/0.07525, allocations: 46.63 MB / 326.7 MB, free: 4.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.261/0.3363, allocations: 141.8 MB / 468.6 MB, free: 9.605 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001984/0.3383, allocations: 1.719 MB / 470.3 MB, free: 7.879 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002343/0.3386, allocations: 7.938 kB / 470.3 MB, free: 7.871 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005348/0.3392, allocations: 143.3 kB / 470.4 MB, free: 7.73 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005227/0.3397, allocations: 318.4 kB / 470.7 MB, free: 7.418 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008263/0.3405, allocations: 393.7 kB / 471.1 MB, free: 7.035 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009074/0.3415, allocations: 1.305 MB / 472.4 MB, free: 5.727 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001467/0.3416, allocations: 73.14 kB / 472.5 MB, free: 5.656 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004456/0.3421, allocations: 362.7 kB / 472.8 MB, free: 5.301 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003491/0.3424, allocations: 346.7 kB / 473.2 MB, free: 4.961 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.354e-05/0.3425, allocations: 16 kB / 473.2 MB, free: 4.945 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002647/0.3428, allocations: 143.7 kB / 473.3 MB, free: 4.805 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.874e-05/0.3428, allocations: 75.77 kB / 473.4 MB, free: 4.73 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000156/0.343, allocations: 187.2 kB / 473.6 MB, free: 4.547 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004114/0.3434, allocations: 484.4 kB / 474.1 MB, free: 4.074 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.3434, allocations: 3.938 kB / 474.1 MB, free: 4.07 MB / 366.1 MB Notification: Performance of FrontEnd: time 6.51e-07/0.3435, allocations: 4 kB / 474.1 MB, free: 4.066 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.3435, allocations: 0 / 474.1 MB, free: 4.066 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0007035/0.3442, allocations: 0.5856 MB / 474.7 MB, free: 3.434 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.3442, allocations: 8.031 kB / 474.7 MB, free: 3.426 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.608e-05/0.3443, allocations: 62.73 kB / 474.7 MB, free: 3.355 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002469/0.3445, allocations: 50.92 kB / 474.8 MB, free: 3.309 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002816/0.3448, allocations: 279.8 kB / 475.1 MB, free: 2.996 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.3448, allocations: 20.94 kB / 475.1 MB, free: 2.977 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.578e-05/0.3449, allocations: 24.56 kB / 475.1 MB, free: 2.953 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004249/0.3453, allocations: 301.3 kB / 475.4 MB, free: 2.641 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.3453, allocations: 4 kB / 475.4 MB, free: 2.637 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.199e-05/0.3454, allocations: 16 kB / 475.4 MB, free: 2.621 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.3454, allocations: 4 kB / 475.4 MB, free: 2.617 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002889/0.3457, allocations: 206.1 kB / 475.6 MB, free: 2.414 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001416/0.3471, allocations: 1.285 MB / 476.9 MB, free: 1.008 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003131/0.3474, allocations: 190.6 kB / 477.1 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000131/0.3476, allocations: 97.75 kB / 477.2 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001228/0.3477, allocations: 170.2 kB / 477.4 MB, free: 0.5117 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/0.3477, allocations: 38.56 kB / 477.4 MB, free: 476 kB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 1.272e-06/0.3477, allocations: 0 / 477.4 MB, free: 476 kB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.002167/0.3499, allocations: 1.034 MB / 478.4 MB, free: 15.33 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.608e-05/0.3499, allocations: 55.41 kB / 478.5 MB, free: 15.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002154/0.3502, allocations: 254.6 kB / 478.7 MB, free: 15.01 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.693e-05/0.3502, allocations: 29.7 kB / 478.8 MB, free: 14.97 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.362e-05/0.3503, allocations: 184.1 kB / 478.9 MB, free: 14.79 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.786e-05/0.3504, allocations: 86.66 kB / 479 MB, free: 14.7 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.531e-05/0.3505, allocations: 85.31 kB / 479.1 MB, free: 14.61 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.323e-05/0.3506, allocations: 334.8 kB / 479.4 MB, free: 14.28 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.3507, allocations: 75.97 kB / 479.5 MB, free: 14.2 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001763/0.3509, allocations: 183.7 kB / 479.7 MB, free: 13.98 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003176/0.3512, allocations: 287.8 kB / 480 MB, free: 13.66 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3512, allocations: 4 kB / 480 MB, free: 13.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005196/0.3517, allocations: 431.8 kB / 480.4 MB, free: 13.2 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.3518, allocations: 8.406 kB / 480.4 MB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.3518, allocations: 8 kB / 480.4 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00012/0.3519, allocations: 37.7 kB / 480.4 MB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003074/0.3522, allocations: 79.89 kB / 480.5 MB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001513/0.3537, allocations: 2.57 MB / 483.1 MB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001925/0.3539, allocations: 23.83 kB / 483.1 MB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.95e-05/0.354, allocations: 20 kB / 483.1 MB, free: 10.19 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (40): * Single equations (assignments): 38 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001268/0.3541, allocations: 158 kB / 483.3 MB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.054e-05/0.3542, allocations: 23.72 kB / 483.3 MB, free: 10 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004609/0.3546, allocations: 358.6 kB / 483.7 MB, free: 9.621 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.3547, allocations: 7.984 kB / 483.7 MB, free: 9.613 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.3547, allocations: 3.984 kB / 483.7 MB, free: 9.609 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004505/0.3551, allocations: 0.6188 MB / 484.3 MB, free: 8.883 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008087/0.3559, allocations: 0.7547 MB / 485 MB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.356, allocations: 0 / 485 MB, free: 8.047 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002822/0.3562, allocations: 59.89 kB / 485.1 MB, free: 7.988 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.873e-05/0.3563, allocations: 20.84 kB / 485.1 MB, free: 7.965 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.3563, allocations: 8.031 kB / 485.1 MB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006931/0.357, allocations: 1.285 MB / 486.4 MB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.357, allocations: 0 / 486.4 MB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005518/0.3576, allocations: 0.5222 MB / 486.9 MB, free: 5.977 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.581e-05/0.3577, allocations: 96.86 kB / 487 MB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.739e-05/0.3577, allocations: 8 kB / 487 MB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002388/0.358, allocations: 20.11 kB / 487.1 MB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.151e-05/0.358, allocations: 15.97 kB / 487.1 MB, free: 5.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.531e-05/0.358, allocations: 15.98 kB / 487.1 MB, free: 5.805 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001435/0.3582, allocations: 178 kB / 487.3 MB, free: 5.633 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3582, allocations: 3.938 kB / 487.3 MB, free: 5.629 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003804/0.3586, allocations: 107.9 kB / 487.4 MB, free: 5.523 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): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009077/0.3595, allocations: 1.082 MB / 488.5 MB, free: 4.391 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005375/0.36, allocations: 457 kB / 488.9 MB, free: 3.918 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.36, allocations: 0 / 488.9 MB, free: 3.918 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002369/0.3603, allocations: 215.9 kB / 489.1 MB, free: 3.695 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008329/0.3611, allocations: 173.7 kB / 489.3 MB, free: 3.527 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003215/0.3644, allocations: 3.34 MB / 492.6 MB, free: 15.98 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002549/0.3646, allocations: 0.7606 MB / 493.4 MB, free: 15.2 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002424/0.3649, allocations: 54.94 kB / 493.4 MB, free: 15.14 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/0.365, allocations: 91.39 kB / 493.5 MB, free: 15.05 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.365, allocations: 3.938 kB / 493.5 MB, free: 15.05 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9526/1.318, allocations: 8.801 MB / 0.4906 GB, free: 6.207 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002237/1.318, allocations: 252.6 kB / 0.4908 GB, free: 5.945 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.825/3.142, allocations: 0 / 0.4908 GB, free: 5.945 MB / 398.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_SimpleAir_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_Tests_MediaTestModels_Air_SimpleAir.fmu > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Air/SimpleAir/SimpleAir.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches