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.001317/0.001317, allocations: 114.5 kB / 17.73 MB, free: 5.34 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.001553/0.001553, allocations: 183 kB / 18.66 MB, free: 4.418 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.26/1.26, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001187/0.001187, allocations: 51.92 kB / 328 MB, free: 3.828 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07614/0.07734, allocations: 46.62 MB / 374.6 MB, free: 5.098 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.005435/0.08281, allocations: 4.487 MB / 379.1 MB, free: 0.582 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1503/0.2331, allocations: 1.808 MB / 380.9 MB, free: 9.137 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001114/0.2333, allocations: 1.375 kB / 380.9 MB, free: 9.137 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002386/0.2335, allocations: 40.53 kB / 381 MB, free: 9.137 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003157/0.2339, allocations: 119.3 kB / 381.1 MB, free: 9.137 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005855/0.2345, allocations: 246.7 kB / 381.3 MB, free: 9.133 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002955/0.2348, allocations: 289.7 kB / 381.6 MB, free: 9.086 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.487e-05/0.2348, allocations: 10.31 kB / 381.6 MB, free: 9.086 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002252/0.2351, allocations: 138.8 kB / 381.7 MB, free: 9.062 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001107/0.2352, allocations: 77.55 kB / 381.8 MB, free: 9.051 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.264e-05/0.2352, allocations: 8.75 kB / 381.8 MB, free: 9.051 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002287/0.2354, allocations: 99.55 kB / 381.9 MB, free: 9.047 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.87e-05/0.2355, allocations: 36.28 kB / 382 MB, free: 9.043 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.824e-05/0.2356, allocations: 81.11 kB / 382 MB, free: 9.023 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003535/0.236, allocations: 212.2 kB / 382.2 MB, free: 8.996 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.236, allocations: 2.438 kB / 382.3 MB, free: 8.996 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.236, allocations: 0 / 382.3 MB, free: 8.996 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.236, allocations: 0.5 kB / 382.3 MB, free: 8.996 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.0008403/0.2368, allocations: 492.4 kB / 382.7 MB, free: 8.605 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.2369, allocations: 10.14 kB / 382.7 MB, free: 8.605 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.502e-05/0.2369, allocations: 47.2 kB / 382.8 MB, free: 8.566 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001785/0.2371, allocations: 23.69 kB / 382.8 MB, free: 8.559 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002354/0.2374, allocations: 210.8 kB / 383 MB, free: 8.352 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.2374, allocations: 13.94 kB / 383 MB, free: 8.348 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.262e-05/0.2374, allocations: 17 kB / 383 MB, free: 8.348 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004125/0.2379, allocations: 216.3 kB / 383.3 MB, free: 8.262 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.2379, allocations: 0.8438 kB / 383.3 MB, free: 8.262 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.537e-05/0.2379, allocations: 7.156 kB / 383.3 MB, free: 8.262 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.966e-06/0.2379, allocations: 8.156 kB / 383.3 MB, free: 8.258 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003347/0.2383, allocations: 146.7 kB / 383.4 MB, free: 8.254 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00105/0.2393, allocations: 0.946 MB / 384.4 MB, free: 7.516 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003619/0.2397, allocations: 152.5 kB / 384.5 MB, free: 7.48 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001298/0.2398, allocations: 58.39 kB / 384.6 MB, free: 7.469 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004011/0.2403, allocations: 0.4982 MB / 385.1 MB, free: 7 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.47e-05/0.2403, allocations: 37.81 kB / 385.1 MB, free: 6.961 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.293e-06/0.2403, allocations: 2.156 kB / 385.1 MB, free: 6.961 MB / 318.1 MB Notification: Performance of matching and sorting (n=20): time 0.002361/0.2427, allocations: 0.7725 MB / 385.9 MB, free: 6.648 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.172e-05/0.2427, allocations: 58.2 kB / 385.9 MB, free: 6.586 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.2428, allocations: 147.8 kB / 386.1 MB, free: 6.484 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.2428, allocations: 30.64 kB / 386.1 MB, free: 6.453 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.917e-05/0.2429, allocations: 139.2 kB / 386.2 MB, free: 6.332 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.277e-05/0.2429, allocations: 77.06 kB / 386.3 MB, free: 6.281 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.157e-05/0.243, allocations: 63.03 kB / 386.4 MB, free: 6.262 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.292e-05/0.2431, allocations: 324.3 kB / 386.7 MB, free: 5.949 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002303/0.2433, allocations: 81.97 kB / 386.8 MB, free: 5.949 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002539/0.2436, allocations: 192.9 kB / 387 MB, free: 5.82 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004611/0.244, allocations: 301.3 kB / 387.3 MB, free: 5.66 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.244, allocations: 1.344 kB / 387.3 MB, free: 5.66 MB / 318.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006109/0.2447, allocations: 317.9 kB / 387.6 MB, free: 5.594 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.2447, allocations: 6.25 kB / 387.6 MB, free: 5.594 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.2447, allocations: 3.5 kB / 387.6 MB, free: 5.594 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.2447, allocations: 6.438 kB / 387.6 MB, free: 5.594 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003747/0.2451, allocations: 88.45 kB / 387.7 MB, free: 5.586 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.2451, allocations: 6.188 kB / 387.7 MB, free: 5.586 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002314/0.2454, allocations: 19.83 kB / 387.7 MB, free: 5.582 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.104e-05/0.2454, allocations: 16.72 kB / 387.7 MB, free: 5.582 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 8.858e-05/0.2455, allocations: 133.8 kB / 387.8 MB, free: 5.461 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.943e-05/0.2455, allocations: 11.62 kB / 387.9 MB, free: 5.457 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006011/0.2462, allocations: 256.8 kB / 388.1 MB, free: 5.391 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.2462, allocations: 2.344 kB / 388.1 MB, free: 5.391 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.2462, allocations: 1.156 kB / 388.1 MB, free: 5.391 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.2462, allocations: 6 kB / 388.1 MB, free: 5.387 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001121/0.2473, allocations: 0.593 MB / 388.7 MB, free: 5.043 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.2473, allocations: 1.281 kB / 388.7 MB, free: 5.043 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000289/0.2476, allocations: 51.89 kB / 388.8 MB, free: 5.039 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.2476, allocations: 2.156 kB / 388.8 MB, free: 5.039 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.08e-05/0.2477, allocations: 10.52 kB / 388.8 MB, free: 5.039 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.2477, allocations: 13.16 kB / 388.8 MB, free: 5.031 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.2477, allocations: 1.438 kB / 388.8 MB, free: 5.031 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000709/0.2484, allocations: 397.5 kB / 389.2 MB, free: 4.855 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.954e-05/0.2484, allocations: 91.41 kB / 389.3 MB, free: 4.754 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.752e-05/0.2485, allocations: 11.05 kB / 389.3 MB, free: 4.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002323/0.2487, allocations: 12.31 kB / 389.3 MB, free: 4.75 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.088e-05/0.2488, allocations: 21.56 kB / 389.3 MB, free: 4.746 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.33e-05/0.2488, allocations: 11.28 kB / 389.3 MB, free: 4.746 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.571e-05/0.2488, allocations: 110.8 kB / 389.4 MB, free: 4.672 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2488, allocations: 0 / 389.4 MB, free: 4.672 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000381/0.2492, allocations: 66.34 kB / 389.5 MB, free: 4.664 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.0009652/0.2502, allocations: 0.9555 MB / 390.5 MB, free: 3.914 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005356/0.2508, allocations: 224.4 kB / 390.7 MB, free: 3.848 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.2508, allocations: 3.938 kB / 390.7 MB, free: 3.844 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002188/0.251, allocations: 87.61 kB / 390.8 MB, free: 3.824 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003877/0.2514, allocations: 41.47 kB / 390.8 MB, free: 3.809 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002895/0.2543, allocations: 2.37 MB / 393.2 MB, free: 1.926 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001449/0.2545, allocations: 0.7211 MB / 393.9 MB, free: 1.223 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002136/0.2547, allocations: 46.72 kB / 393.9 MB, free: 1.207 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.2548, allocations: 52.06 kB / 394 MB, free: 1.176 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2548, allocations: 7.875 kB / 394 MB, free: 1.168 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0221/0.2769, allocations: 4.582 MB / 398.6 MB, free: 460 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.236/7.513, allocations: 17.31 kB / 398.6 MB, free: 444 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