Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.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.SimpleLiquidWater,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SimpleLiquidWater",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.001577/0.001577, allocations: 104.4 kB / 17.73 MB, free: 5.219 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.00188/0.00188, allocations: 191 kB / 18.66 MB, free: 4.289 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.451/1.451, allocations: 205.1 MB / 224.5 MB, free: 12.23 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.001275/0.001275, allocations: 51.94 kB / 328 MB, free: 3.816 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09953/0.1008, allocations: 46.62 MB / 374.6 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.008723/0.1096, allocations: 4.475 MB / 379.1 MB, free: 0.582 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.2015/0.3111, allocations: 1.807 MB / 380.9 MB, free: 9.156 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001679/0.3114, allocations: 4.094 kB / 380.9 MB, free: 9.156 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003084/0.3117, allocations: 39.28 kB / 381 MB, free: 9.156 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003935/0.3121, allocations: 124.3 kB / 381.1 MB, free: 9.156 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006514/0.3128, allocations: 246 kB / 381.3 MB, free: 9.152 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003491/0.3132, allocations: 288.8 kB / 381.6 MB, free: 9.113 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.481e-05/0.3132, allocations: 10.56 kB / 381.6 MB, free: 9.113 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002581/0.3135, allocations: 132.4 kB / 381.7 MB, free: 9.094 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.3136, allocations: 80.62 kB / 381.8 MB, free: 9.078 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.402e-05/0.3136, allocations: 9.625 kB / 381.8 MB, free: 9.078 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00022/0.3139, allocations: 98.27 kB / 381.9 MB, free: 9.074 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.92e-05/0.3139, allocations: 35.61 kB / 382 MB, free: 9.07 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001142/0.3141, allocations: 86.42 kB / 382 MB, free: 9.047 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003718/0.3145, allocations: 211.5 kB / 382.2 MB, free: 9.023 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.3145, allocations: 0 / 382.2 MB, free: 9.023 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3145, allocations: 0 / 382.2 MB, free: 9.023 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.31e-06/0.3145, allocations: 0 / 382.2 MB, free: 9.023 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0009314/0.3154, allocations: 493.9 kB / 382.7 MB, free: 8.633 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.3155, allocations: 10.19 kB / 382.7 MB, free: 8.633 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.81e-05/0.3155, allocations: 53.36 kB / 382.8 MB, free: 8.59 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001895/0.3157, allocations: 23.17 kB / 382.8 MB, free: 8.582 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002927/0.316, allocations: 202.3 kB / 383 MB, free: 8.379 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.316, allocations: 16.19 kB / 383 MB, free: 8.375 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.565e-05/0.3161, allocations: 14.17 kB / 383 MB, free: 8.375 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004919/0.3166, allocations: 217.2 kB / 383.3 MB, free: 8.289 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/0.3166, allocations: 1.062 kB / 383.3 MB, free: 8.289 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.107e-05/0.3167, allocations: 12.56 kB / 383.3 MB, free: 8.285 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.3167, allocations: 3.969 kB / 383.3 MB, free: 8.285 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00043/0.3171, allocations: 145.9 kB / 383.4 MB, free: 8.281 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001155/0.3183, allocations: 0.9457 MB / 384.4 MB, free: 7.543 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004005/0.3187, allocations: 151.8 kB / 384.5 MB, free: 7.512 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001553/0.3189, allocations: 51.8 kB / 384.6 MB, free: 7.504 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004496/0.3193, allocations: 0.5111 MB / 385.1 MB, free: 7.023 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.975e-05/0.3193, allocations: 33 kB / 385.1 MB, free: 6.984 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.442e-06/0.3194, allocations: 0 / 385.1 MB, free: 6.984 MB / 318.1 MB Notification: Performance of matching and sorting (n=20): time 0.00259/0.322, allocations: 0.7775 MB / 385.9 MB, free: 6.672 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.824e-05/0.322, allocations: 55.27 kB / 385.9 MB, free: 6.609 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.3221, allocations: 150.6 kB / 386.1 MB, free: 6.508 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.3222, allocations: 29.92 kB / 386.1 MB, free: 6.477 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.869e-05/0.3222, allocations: 141.8 kB / 386.2 MB, free: 6.355 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.283e-05/0.3223, allocations: 73.88 kB / 386.3 MB, free: 6.309 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.3224, allocations: 60.59 kB / 386.4 MB, free: 6.289 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.565e-05/0.3225, allocations: 328.6 kB / 386.7 MB, free: 5.973 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000259/0.3227, allocations: 86.33 kB / 386.8 MB, free: 5.969 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002918/0.323, allocations: 189.7 kB / 387 MB, free: 5.84 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005329/0.3236, allocations: 298.2 kB / 387.3 MB, free: 5.684 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.3236, allocations: 1.531 kB / 387.3 MB, free: 5.684 MB / 318.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006974/0.3243, allocations: 320 kB / 387.6 MB, free: 5.617 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.3243, allocations: 6.875 kB / 387.6 MB, free: 5.617 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.3243, allocations: 3.672 kB / 387.6 MB, free: 5.617 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.3244, allocations: 9.656 kB / 387.6 MB, free: 5.613 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003852/0.3247, allocations: 82.12 kB / 387.7 MB, free: 5.609 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.303e-05/0.3248, allocations: 10.27 kB / 387.7 MB, free: 5.605 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002184/0.325, allocations: 16.17 kB / 387.7 MB, free: 5.605 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.941e-05/0.325, allocations: 14.61 kB / 387.7 MB, free: 5.605 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (37): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001076/0.3252, allocations: 137.9 kB / 387.9 MB, free: 5.48 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.148e-05/0.3252, allocations: 16.09 kB / 387.9 MB, free: 5.473 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007022/0.3259, allocations: 243.5 kB / 388.1 MB, free: 5.422 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.3259, allocations: 6.312 kB / 388.1 MB, free: 5.418 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.326, allocations: 0 / 388.1 MB, free: 5.418 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.323e-06/0.326, allocations: 4.172 kB / 388.1 MB, free: 5.418 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001272/0.3272, allocations: 0.5953 MB / 388.7 MB, free: 5.07 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.3273, allocations: 6 kB / 388.7 MB, free: 5.066 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002943/0.3276, allocations: 51.08 kB / 388.8 MB, free: 5.066 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.3276, allocations: 2.375 kB / 388.8 MB, free: 5.066 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.312e-05/0.3276, allocations: 9.062 kB / 388.8 MB, free: 5.066 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.062e-06/0.3276, allocations: 10.16 kB / 388.8 MB, free: 5.059 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.3276, allocations: 1.688 kB / 388.8 MB, free: 5.059 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000805/0.3284, allocations: 399.7 kB / 389.2 MB, free: 4.883 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.423e-05/0.3285, allocations: 91.48 kB / 389.3 MB, free: 4.781 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.261e-05/0.3285, allocations: 10.5 kB / 389.3 MB, free: 4.777 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002307/0.3287, allocations: 15.14 kB / 389.3 MB, free: 4.777 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.135e-05/0.3288, allocations: 14.5 kB / 389.3 MB, free: 4.773 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.521e-05/0.3288, allocations: 12.95 kB / 389.3 MB, free: 4.773 MB / 318.1 MB Notification: Performance of sorting global known variables: time 6.26e-05/0.3289, allocations: 106.3 kB / 389.4 MB, free: 4.699 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3289, allocations: 0 / 389.4 MB, free: 4.699 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003805/0.3293, allocations: 70.92 kB / 389.5 MB, free: 4.688 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001172/0.3305, allocations: 0.9648 MB / 390.5 MB, free: 3.922 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0006606/0.3311, allocations: 217 kB / 390.7 MB, free: 3.863 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.3311, allocations: 192 / 390.7 MB, free: 3.863 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002909/0.3314, allocations: 95.02 kB / 390.8 MB, free: 3.836 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004252/0.3319, allocations: 37.56 kB / 390.8 MB, free: 3.824 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003531/0.3354, allocations: 2.373 MB / 393.2 MB, free: 1.941 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001748/0.3356, allocations: 0.7165 MB / 393.9 MB, free: 1.242 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002197/0.3358, allocations: 48.61 kB / 393.9 MB, free: 1.227 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/0.336, allocations: 55.22 kB / 394 MB, free: 1.191 MB / 318.1 MB Notification: Performance of SimCode: time 1.002e-06/0.336, allocations: 0 / 394 MB, free: 1.191 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02211/0.3581, allocations: 4.592 MB / 398.6 MB, free: 472 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.446/7.804, allocations: 12.19 kB / 398.6 MB, free: 460 kB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_SimpleLiquidWater_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_SimpleLiquidWater.fmu > Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches