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.001277/0.001277, allocations: 114.4 kB / 17.74 MB, free: 5.355 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.001315/0.001315, allocations: 183.1 kB / 18.66 MB, free: 4.434 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.346/1.346, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001686/0.001686, allocations: 55.92 kB / 328 MB, free: 3.832 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08916/0.09085, allocations: 46.61 MB / 374.6 MB, free: 5.109 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.006017/0.09692, allocations: 4.487 MB / 379.1 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.161/0.258, allocations: 1.811 MB / 380.9 MB, free: 9.184 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001515/0.2582, allocations: 1.375 kB / 380.9 MB, free: 9.184 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002832/0.2586, allocations: 42.61 kB / 381 MB, free: 9.184 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003612/0.2589, allocations: 124.3 kB / 381.1 MB, free: 9.184 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006269/0.2596, allocations: 244 kB / 381.3 MB, free: 9.18 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000351/0.2599, allocations: 294.2 kB / 381.6 MB, free: 9.133 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.12e-05/0.26, allocations: 9.5 kB / 381.6 MB, free: 9.133 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002396/0.2602, allocations: 128.8 kB / 381.7 MB, free: 9.113 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001249/0.2604, allocations: 80.75 kB / 381.8 MB, free: 9.098 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.102e-05/0.2604, allocations: 8.594 kB / 381.8 MB, free: 9.098 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002385/0.2607, allocations: 102.7 kB / 381.9 MB, free: 9.09 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.232e-05/0.2607, allocations: 38.27 kB / 382 MB, free: 9.086 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.631e-05/0.2608, allocations: 78.45 kB / 382.1 MB, free: 9.066 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003507/0.2612, allocations: 208 kB / 382.3 MB, free: 9.043 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.2612, allocations: 1.375 kB / 382.3 MB, free: 9.043 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2612, allocations: 0 / 382.3 MB, free: 9.043 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.2612, allocations: 1.969 kB / 382.3 MB, free: 9.043 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.0008366/0.2621, allocations: 0.4887 MB / 382.7 MB, free: 8.645 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.2621, allocations: 9.625 kB / 382.8 MB, free: 8.645 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.694e-05/0.2622, allocations: 49.05 kB / 382.8 MB, free: 8.605 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001757/0.2623, allocations: 19.42 kB / 382.8 MB, free: 8.602 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002227/0.2626, allocations: 209.8 kB / 383 MB, free: 8.395 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.996e-05/0.2626, allocations: 10.19 kB / 383 MB, free: 8.395 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.859e-05/0.2626, allocations: 12.84 kB / 383 MB, free: 8.395 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004473/0.2631, allocations: 218.5 kB / 383.3 MB, free: 8.305 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.2631, allocations: 5.797 kB / 383.3 MB, free: 8.305 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.664e-05/0.2632, allocations: 6.797 kB / 383.3 MB, free: 8.305 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.2632, allocations: 3.312 kB / 383.3 MB, free: 8.305 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003858/0.2636, allocations: 154.9 kB / 383.4 MB, free: 8.293 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001057/0.2646, allocations: 0.9486 MB / 384.4 MB, free: 7.551 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003641/0.265, allocations: 150.4 kB / 384.5 MB, free: 7.523 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001371/0.2652, allocations: 62.89 kB / 384.6 MB, free: 7.504 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003902/0.2655, allocations: 0.506 MB / 385.1 MB, free: 7.027 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.172e-05/0.2656, allocations: 37.47 kB / 385.1 MB, free: 6.988 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.342e-06/0.2656, allocations: 0 / 385.1 MB, free: 6.988 MB / 318.1 MB Notification: Performance of matching and sorting (n=20): time 0.002358/0.268, allocations: 0.7635 MB / 385.9 MB, free: 6.684 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.436e-05/0.268, allocations: 54.42 kB / 385.9 MB, free: 6.621 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.2681, allocations: 155 kB / 386.1 MB, free: 6.52 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.861e-05/0.2681, allocations: 30.61 kB / 386.1 MB, free: 6.488 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.088e-05/0.2682, allocations: 145.7 kB / 386.3 MB, free: 6.359 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.383e-05/0.2682, allocations: 75.75 kB / 386.3 MB, free: 6.316 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.741e-05/0.2683, allocations: 61.02 kB / 386.4 MB, free: 6.297 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.544e-05/0.2684, allocations: 327.8 kB / 386.7 MB, free: 5.98 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002408/0.2686, allocations: 82.3 kB / 386.8 MB, free: 5.98 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002658/0.2689, allocations: 191.4 kB / 387 MB, free: 5.848 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004955/0.2694, allocations: 297.7 kB / 387.3 MB, free: 5.695 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2694, allocations: 1.812 kB / 387.3 MB, free: 5.695 MB / 318.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006467/0.2701, allocations: 323.3 kB / 387.6 MB, free: 5.621 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.2701, allocations: 7.312 kB / 387.6 MB, free: 5.621 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.2701, allocations: 4.188 kB / 387.6 MB, free: 5.621 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.2701, allocations: 7.969 kB / 387.6 MB, free: 5.621 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003611/0.2705, allocations: 82.17 kB / 387.7 MB, free: 5.617 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.356e-05/0.2705, allocations: 9.984 kB / 387.7 MB, free: 5.613 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000213/0.2707, allocations: 19.59 kB / 387.7 MB, free: 5.613 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.095e-05/0.2708, allocations: 12.52 kB / 387.7 MB, free: 5.613 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.702e-05/0.2709, allocations: 142.5 kB / 387.9 MB, free: 5.484 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.606e-05/0.2709, allocations: 20.44 kB / 387.9 MB, free: 5.477 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006369/0.2716, allocations: 238.7 kB / 388.1 MB, free: 5.426 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.2716, allocations: 6.031 kB / 388.1 MB, free: 5.426 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.2716, allocations: 4 kB / 388.1 MB, free: 5.422 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.2716, allocations: 5.797 kB / 388.1 MB, free: 5.418 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001121/0.2727, allocations: 0.5968 MB / 388.7 MB, free: 5.066 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.2727, allocations: 2.266 kB / 388.7 MB, free: 5.066 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002791/0.273, allocations: 51.08 kB / 388.8 MB, free: 5.066 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.273, allocations: 1.312 kB / 388.8 MB, free: 5.066 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.07e-05/0.2731, allocations: 5.969 kB / 388.8 MB, free: 5.066 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.2731, allocations: 6.938 kB / 388.8 MB, free: 5.062 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.2731, allocations: 5.125 kB / 388.8 MB, free: 5.059 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007824/0.2739, allocations: 403.8 kB / 389.2 MB, free: 4.879 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.107e-05/0.2739, allocations: 92.08 kB / 389.3 MB, free: 4.777 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.542e-05/0.2739, allocations: 9.312 kB / 389.3 MB, free: 4.773 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002258/0.2742, allocations: 14.73 kB / 389.3 MB, free: 4.773 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.733e-05/0.2742, allocations: 18.28 kB / 389.3 MB, free: 4.77 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.37e-05/0.2742, allocations: 9.078 kB / 389.3 MB, free: 4.77 MB / 318.1 MB Notification: Performance of sorting global known variables: time 5.816e-05/0.2743, allocations: 113.3 kB / 389.5 MB, free: 4.691 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2743, allocations: 0.8125 kB / 389.5 MB, free: 4.691 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003664/0.2747, allocations: 61.78 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.001056/0.2757, allocations: 0.9623 MB / 390.5 MB, free: 3.93 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0005824/0.2763, allocations: 219 kB / 390.7 MB, free: 3.867 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2763, allocations: 1.469 kB / 390.7 MB, free: 3.867 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002415/0.2766, allocations: 98.73 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.0003807/0.277, allocations: 34.31 kB / 390.8 MB, free: 3.828 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002867/0.2799, allocations: 2.379 MB / 393.2 MB, free: 1.938 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001418/0.28, allocations: 0.7163 MB / 393.9 MB, free: 1.238 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002146/0.2802, allocations: 46.39 kB / 394 MB, free: 1.223 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/0.2804, allocations: 52.08 kB / 394 MB, free: 1.191 MB / 318.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2804, allocations: 5.406 kB / 394 MB, free: 1.188 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02719/0.3076, allocations: 4.531 MB / 398.6 MB, free: 472 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.701/8.009, allocations: 9.562 kB / 398.6 MB, free: 464 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