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.0008867/0.0008868, allocations: 95.61 kB / 17.3 MB, free: 6.391 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.001071/0.001072, allocations: 175.6 kB / 18.21 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.201/1.201, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0004091/0.0004091, allocations: 16.33 kB / 281.5 MB, free: 3.32 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07527/0.07569, allocations: 47.57 MB / 329 MB, free: 3.676 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.003996/0.07974, allocations: 4.132 MB / 333.2 MB, free: 15.51 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001619/0.08137, allocations: 1.791 MB / 335 MB, free: 13.71 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.35e-05/0.08143, allocations: 0 / 335 MB, free: 13.71 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000212/0.08166, allocations: 31.81 kB / 335 MB, free: 13.68 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000247/0.08191, allocations: 119.4 kB / 335.1 MB, free: 13.56 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004918/0.08241, allocations: 231.4 kB / 335.3 MB, free: 13.34 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003347/0.08276, allocations: 366.8 kB / 335.7 MB, free: 12.98 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.867e-05/0.0828, allocations: 16.89 kB / 335.7 MB, free: 12.96 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002027/0.08301, allocations: 119.6 kB / 335.8 MB, free: 12.84 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.08314, allocations: 79.69 kB / 335.9 MB, free: 12.77 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.08316, allocations: 7.938 kB / 335.9 MB, free: 12.76 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002002/0.08337, allocations: 107.8 kB / 336 MB, free: 12.65 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.739e-05/0.08345, allocations: 39.89 kB / 336.1 MB, free: 12.61 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 9.106e-05/0.08354, allocations: 93.42 kB / 336.2 MB, free: 12.52 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002626/0.08381, allocations: 211.6 kB / 336.4 MB, free: 12.31 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.08382, allocations: 0 / 336.4 MB, free: 12.31 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.08383, allocations: 3.938 kB / 336.4 MB, free: 12.3 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.08384, allocations: 0 / 336.4 MB, free: 12.3 MB / 286.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.0007812/0.08463, allocations: 459.4 kB / 336.8 MB, free: 11.81 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.08466, allocations: 8.031 kB / 336.8 MB, free: 11.8 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.229e-05/0.08472, allocations: 50.73 kB / 336.9 MB, free: 11.74 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001566/0.08489, allocations: 24.73 kB / 336.9 MB, free: 11.72 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001751/0.08507, allocations: 204.2 kB / 337.1 MB, free: 11.48 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.08509, allocations: 8.656 kB / 337.1 MB, free: 11.47 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.206e-05/0.08513, allocations: 20.28 kB / 337.1 MB, free: 11.45 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003677/0.0855, allocations: 216.6 kB / 337.3 MB, free: 11.22 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.08552, allocations: 0 / 337.3 MB, free: 11.22 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.565e-05/0.08555, allocations: 12 kB / 337.3 MB, free: 11.21 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.08557, allocations: 4 kB / 337.3 MB, free: 11.2 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003254/0.0859, allocations: 143.8 kB / 337.5 MB, free: 11.06 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001112/0.08702, allocations: 0.9479 MB / 338.4 MB, free: 10.04 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003586/0.08739, allocations: 146.7 kB / 338.6 MB, free: 9.887 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001377/0.08754, allocations: 60.77 kB / 338.6 MB, free: 9.824 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004608/0.08801, allocations: 0.5071 MB / 339.1 MB, free: 9.254 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.08804, allocations: 34.56 kB / 339.2 MB, free: 9.211 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.182e-06/0.08805, allocations: 0 / 339.2 MB, free: 9.211 MB / 286.1 MB Notification: Performance of matching and sorting (n=20): time 0.002331/0.09038, allocations: 0.763 MB / 339.9 MB, free: 8.395 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.161e-05/0.09043, allocations: 63.34 kB / 340 MB, free: 8.32 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.09055, allocations: 146.4 kB / 340.1 MB, free: 8.168 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.956e-05/0.09058, allocations: 29.7 kB / 340.2 MB, free: 8.133 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.447e-05/0.09065, allocations: 139.8 kB / 340.3 MB, free: 7.992 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.925e-05/0.09072, allocations: 78.98 kB / 340.4 MB, free: 7.914 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.499e-05/0.09077, allocations: 29.7 kB / 340.4 MB, free: 7.879 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.804e-05/0.09087, allocations: 330.8 kB / 340.7 MB, free: 7.547 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002347/0.09111, allocations: 79.94 kB / 340.8 MB, free: 7.469 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002873/0.09141, allocations: 193.2 kB / 341 MB, free: 7.23 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005492/0.09197, allocations: 298.1 kB / 341.3 MB, free: 6.891 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.09198, allocations: 0 / 341.3 MB, free: 6.891 MB / 286.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006719/0.09266, allocations: 317 kB / 341.6 MB, free: 6.574 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.09269, allocations: 8.469 kB / 341.6 MB, free: 6.566 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.0927, allocations: 8 kB / 341.6 MB, free: 6.559 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.09272, allocations: 4 kB / 341.6 MB, free: 6.555 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003588/0.09308, allocations: 79.89 kB / 341.7 MB, free: 6.477 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.0931, allocations: 11.94 kB / 341.7 MB, free: 6.465 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002158/0.09332, allocations: 15.98 kB / 341.7 MB, free: 6.449 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.884e-05/0.09336, allocations: 15.98 kB / 341.8 MB, free: 6.434 MB / 286.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.0001224/0.09349, allocations: 141.7 kB / 341.9 MB, free: 6.285 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.532e-05/0.09354, allocations: 15.81 kB / 341.9 MB, free: 6.27 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006221/0.09417, allocations: 246.5 kB / 342.1 MB, free: 6.027 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.09418, allocations: 4 kB / 342.1 MB, free: 6.023 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.788e-06/0.09419, allocations: 0 / 342.1 MB, free: 6.023 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.0942, allocations: 4 kB / 342.2 MB, free: 6.02 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001176/0.09538, allocations: 0.6023 MB / 342.8 MB, free: 5.352 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.0954, allocations: 0 / 342.8 MB, free: 5.352 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002789/0.09568, allocations: 55.89 kB / 342.8 MB, free: 5.297 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.09569, allocations: 0 / 342.8 MB, free: 5.297 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.265e-05/0.09572, allocations: 15.92 kB / 342.8 MB, free: 5.281 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.09573, allocations: 4 kB / 342.8 MB, free: 5.277 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.594e-06/0.09573, allocations: 4 kB / 342.8 MB, free: 5.273 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000821/0.09656, allocations: 406.7 kB / 343.2 MB, free: 4.848 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.422e-05/0.09663, allocations: 92.91 kB / 343.3 MB, free: 4.738 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.407e-05/0.09667, allocations: 11.94 kB / 343.3 MB, free: 4.727 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002263/0.0969, allocations: 7.984 kB / 343.3 MB, free: 4.719 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.324e-05/0.09693, allocations: 15.98 kB / 343.4 MB, free: 4.703 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.962e-05/0.09697, allocations: 8 kB / 343.4 MB, free: 4.695 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.996e-05/0.09704, allocations: 111.3 kB / 343.5 MB, free: 4.586 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.09705, allocations: 0 / 343.5 MB, free: 4.586 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003426/0.0974, allocations: 60 kB / 343.5 MB, free: 4.527 MB / 286.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.001179/0.09858, allocations: 0.9693 MB / 344.5 MB, free: 3.516 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005575/0.09915, allocations: 217 kB / 344.7 MB, free: 3.305 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.09916, allocations: 3.938 kB / 344.7 MB, free: 3.301 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002353/0.0994, allocations: 91.88 kB / 344.8 MB, free: 3.211 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004078/0.09982, allocations: 36.42 kB / 344.8 MB, free: 3.176 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003035/0.1029, allocations: 2.47 MB / 347.3 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002677/0.1031, allocations: 0.7206 MB / 348 MB, free: 15.76 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002488/0.1034, allocations: 45.94 kB / 348.1 MB, free: 15.71 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/0.1035, allocations: 43.42 kB / 348.1 MB, free: 15.67 MB / 302.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1035, allocations: 0 / 348.1 MB, free: 15.67 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3533/0.4568, allocations: 4.19 MB / 352.3 MB, free: 11.48 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002172/0.4571, allocations: 195.2 kB / 352.5 MB, free: 11.22 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.991/2.449, allocations: 0 / 352.5 MB, free: 11.22 MB / 302.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","../files/Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches