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.0008189/0.0008191, allocations: 92.62 kB / 17.3 MB, free: 6.387 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.000922/0.000922, allocations: 173.8 kB / 18.2 MB, free: 5.551 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.139/1.139, allocations: 205.4 MB / 224.4 MB, free: 13.09 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.0004859/0.0004859, allocations: 12 kB / 281.5 MB, free: 3.324 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08304/0.08354, allocations: 47.57 MB / 329.1 MB, free: 3.676 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir): time 0.278/0.3615, allocations: 140 MB / 469 MB, free: 13.16 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001712/0.3633, allocations: 1.698 MB / 470.7 MB, free: 11.45 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.3634, allocations: 7.938 kB / 470.8 MB, free: 11.45 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004331/0.3638, allocations: 155.2 kB / 470.9 MB, free: 11.29 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000426/0.3643, allocations: 306.5 kB / 471.2 MB, free: 10.99 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007202/0.365, allocations: 393.9 kB / 471.6 MB, free: 10.61 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009802/0.366, allocations: 1.301 MB / 472.9 MB, free: 9.305 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.3662, allocations: 80.61 kB / 473 MB, free: 9.227 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004392/0.3666, allocations: 350.7 kB / 473.3 MB, free: 8.883 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003594/0.367, allocations: 338.8 kB / 473.6 MB, free: 8.551 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.22e-05/0.367, allocations: 12 kB / 473.7 MB, free: 8.539 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002463/0.3673, allocations: 151.6 kB / 473.8 MB, free: 8.391 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.878e-05/0.3674, allocations: 79.67 kB / 473.9 MB, free: 8.312 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001673/0.3675, allocations: 193 kB / 474.1 MB, free: 8.117 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000402/0.3679, allocations: 476.3 kB / 474.5 MB, free: 7.652 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.368, allocations: 0 / 474.5 MB, free: 7.652 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.368, allocations: 3.938 kB / 474.5 MB, free: 7.648 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.368, allocations: 0 / 474.5 MB, free: 7.648 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.0006039/0.3686, allocations: 0.5233 MB / 475.1 MB, free: 7.078 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.3686, allocations: 12.03 kB / 475.1 MB, free: 7.066 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.502e-05/0.3687, allocations: 58.73 kB / 475.1 MB, free: 7 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002435/0.3689, allocations: 44.55 kB / 475.2 MB, free: 6.957 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002842/0.3692, allocations: 279.8 kB / 475.4 MB, free: 6.645 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.3693, allocations: 20.94 kB / 475.5 MB, free: 6.625 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.967e-05/0.3693, allocations: 28.55 kB / 475.5 MB, free: 6.598 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004222/0.3697, allocations: 305.3 kB / 475.8 MB, free: 6.281 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.3698, allocations: 0 / 475.8 MB, free: 6.281 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.435e-05/0.3698, allocations: 12 kB / 475.8 MB, free: 6.27 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.3698, allocations: 8 kB / 475.8 MB, free: 6.262 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002878/0.3701, allocations: 202.1 kB / 476 MB, free: 6.062 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001506/0.3716, allocations: 1.293 MB / 477.3 MB, free: 4.648 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003461/0.372, allocations: 199.4 kB / 477.5 MB, free: 4.445 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000135/0.3721, allocations: 88.83 kB / 477.6 MB, free: 4.355 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001403/0.3723, allocations: 170.2 kB / 477.8 MB, free: 4.152 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.3723, allocations: 34.56 kB / 477.8 MB, free: 4.109 MB / 366.1 MB Notification: Performance of pre-optimization done (n=21): time 1.222e-06/0.3723, allocations: 0 / 477.8 MB, free: 4.109 MB / 366.1 MB Notification: Performance of matching and sorting (n=26): time 0.002176/0.3745, allocations: 1.04 MB / 478.8 MB, free: 2.969 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.051e-05/0.3745, allocations: 59.41 kB / 478.9 MB, free: 2.898 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002386/0.3748, allocations: 258.5 kB / 479.1 MB, free: 2.637 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.658e-05/0.3748, allocations: 29.7 kB / 479.2 MB, free: 2.602 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.989e-05/0.3749, allocations: 180.2 kB / 479.3 MB, free: 2.422 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.913e-05/0.375, allocations: 86.66 kB / 479.4 MB, free: 2.336 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.82e-05/0.375, allocations: 37.7 kB / 479.5 MB, free: 2.293 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.825e-05/0.3751, allocations: 334.8 kB / 479.8 MB, free: 1.957 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.3753, allocations: 83.75 kB / 479.9 MB, free: 1.875 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001886/0.3755, allocations: 187.6 kB / 480.1 MB, free: 1.648 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003366/0.3758, allocations: 287.8 kB / 480.3 MB, free: 1.324 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.3758, allocations: 0 / 480.3 MB, free: 1.324 MB / 366.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005315/0.3764, allocations: 440 kB / 480.8 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.3764, allocations: 8 kB / 480.8 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.3764, allocations: 4 kB / 480.8 MB, free: 0.8516 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001244/0.3765, allocations: 41.7 kB / 480.8 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002765/0.3768, allocations: 79.89 kB / 480.9 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001578/0.3784, allocations: 2.575 MB / 483.5 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001921/0.3786, allocations: 24.05 kB / 483.5 MB, free: 13.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.574e-05/0.3786, allocations: 16 kB / 483.5 MB, free: 13.85 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.0001364/0.3788, allocations: 155.8 kB / 483.7 MB, free: 13.69 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.244e-05/0.3788, allocations: 27.72 kB / 483.7 MB, free: 13.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004701/0.3793, allocations: 370.6 kB / 484.1 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.3793, allocations: 4 kB / 484.1 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.3793, allocations: 0 / 484.1 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004705/0.3798, allocations: 0.6149 MB / 484.7 MB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008395/0.3807, allocations: 0.7586 MB / 485.4 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3807, allocations: 3.938 kB / 485.4 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002502/0.3809, allocations: 51.91 kB / 485.5 MB, free: 11.65 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.849e-05/0.381, allocations: 24.84 kB / 485.5 MB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.752e-05/0.381, allocations: 7.984 kB / 485.5 MB, free: 11.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007133/0.3817, allocations: 1.286 MB / 486.8 MB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.051e-06/0.3818, allocations: 0 / 486.8 MB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005418/0.3823, allocations: 0.5224 MB / 487.3 MB, free: 9.633 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.341e-05/0.3824, allocations: 100.8 kB / 487.4 MB, free: 9.516 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.583e-05/0.3824, allocations: 8 kB / 487.4 MB, free: 9.508 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002254/0.3826, allocations: 15.98 kB / 487.4 MB, free: 9.492 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.407e-05/0.3827, allocations: 15.98 kB / 487.5 MB, free: 9.477 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-05/0.3827, allocations: 16.05 kB / 487.5 MB, free: 9.461 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001529/0.3829, allocations: 186 kB / 487.7 MB, free: 9.281 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3829, allocations: 0 / 487.7 MB, free: 9.281 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003806/0.3833, allocations: 107.9 kB / 487.8 MB, free: 9.176 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.0009012/0.3842, allocations: 1.086 MB / 488.8 MB, free: 8.039 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005343/0.3847, allocations: 453.6 kB / 489.3 MB, free: 7.57 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3847, allocations: 0 / 489.3 MB, free: 7.57 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002341/0.385, allocations: 223 kB / 489.5 MB, free: 7.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008787/0.3859, allocations: 153.8 kB / 489.7 MB, free: 7.191 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003256/0.3891, allocations: 3.419 MB / 493.1 MB, free: 3.559 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000266/0.3894, allocations: 0.7606 MB / 493.8 MB, free: 2.773 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002464/0.3897, allocations: 62.81 kB / 493.9 MB, free: 2.715 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.3898, allocations: 87.41 kB / 494 MB, free: 2.629 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3898, allocations: 0 / 494 MB, free: 2.629 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.638/2.028, allocations: 8.685 MB / 0.4909 GB, free: 9.938 MB / 398.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002297/2.028, allocations: 247.8 kB / 0.4911 GB, free: 9.68 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.913/3.941, allocations: 0 / 0.4911 GB, free: 9.68 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