Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008308/0.0008308, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009426/0.0009426, allocations: 156.9 kB / 23.94 MB, free: 0.6172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8691/0.8691, allocations: 177 MB / 204.1 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.71e-05/1.853e-05, allocations: 2.984 kB / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.003816/0.003835, allocations: 4.281 MB / 328.8 MB, free: 11.59 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001263/0.005098, allocations: 1.615 MB / 330.4 MB, free: 9.973 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.534e-05/0.005163, allocations: 4 kB / 330.4 MB, free: 9.969 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004672/0.005631, allocations: 39.69 kB / 330.4 MB, free: 9.93 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002843/0.005915, allocations: 139 kB / 330.6 MB, free: 9.793 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004486/0.006364, allocations: 249.8 kB / 330.8 MB, free: 9.551 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002561/0.00662, allocations: 298.7 kB / 331.1 MB, free: 9.258 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.023e-05/0.00666, allocations: 13.27 kB / 331.1 MB, free: 9.242 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002458/0.006906, allocations: 175.6 kB / 331.3 MB, free: 9.07 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.602e-05/0.006992, allocations: 71.78 kB / 331.4 MB, free: 9 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.961e-05/0.007011, allocations: 15.94 kB / 331.4 MB, free: 8.984 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001675/0.007179, allocations: 83.88 kB / 331.4 MB, free: 8.902 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.694e-05/0.007246, allocations: 47.83 kB / 331.5 MB, free: 8.855 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.733e-05/0.007303, allocations: 59.89 kB / 331.6 MB, free: 8.797 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002664/0.00757, allocations: 239.4 kB / 331.8 MB, free: 8.562 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.007572, allocations: 3.938 kB / 331.8 MB, free: 8.559 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.007573, allocations: 0 / 331.8 MB, free: 8.559 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.42e-06/0.007579, allocations: 0 / 331.8 MB, free: 8.559 MB / 298.7 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.0006107/0.00819, allocations: 417.8 kB / 332.2 MB, free: 8.117 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.008227, allocations: 15.98 kB / 332.2 MB, free: 8.102 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.96e-05/0.008266, allocations: 50.67 kB / 332.3 MB, free: 8.043 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001115/0.008378, allocations: 16.89 kB / 332.3 MB, free: 8.027 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002023/0.00858, allocations: 149.6 kB / 332.4 MB, free: 7.855 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.008592, allocations: 16.59 kB / 332.4 MB, free: 7.84 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.663e-05/0.008619, allocations: 20.38 kB / 332.5 MB, free: 7.82 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000313/0.008932, allocations: 368.5 kB / 332.8 MB, free: 7.402 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.008943, allocations: 192 / 332.8 MB, free: 7.402 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.96e-05/0.008963, allocations: 11.94 kB / 332.8 MB, free: 7.391 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.008968, allocations: 4 kB / 332.8 MB, free: 7.387 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002033/0.009172, allocations: 155.8 kB / 333 MB, free: 7.234 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007994/0.009971, allocations: 0.8596 MB / 333.8 MB, free: 6.312 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002372/0.01021, allocations: 146.8 kB / 334 MB, free: 6.16 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.14e-05/0.01029, allocations: 48.83 kB / 334 MB, free: 6.109 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003004/0.01059, allocations: 344 kB / 334.4 MB, free: 5.754 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.01061, allocations: 34.56 kB / 334.4 MB, free: 5.711 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 9.82e-07/0.01061, allocations: 0 / 334.4 MB, free: 5.711 MB / 298.7 MB Notification: Performance of matching and sorting (n=20): time 0.001363/0.01197, allocations: 0.6988 MB / 335.1 MB, free: 4.98 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.673e-05/0.012, allocations: 59.41 kB / 335.2 MB, free: 4.91 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.811e-05/0.0121, allocations: 167 kB / 335.3 MB, free: 4.738 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.01212, allocations: 25.7 kB / 335.4 MB, free: 4.707 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.659e-05/0.01217, allocations: 152 kB / 335.5 MB, free: 4.555 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.952e-05/0.01221, allocations: 79.42 kB / 335.6 MB, free: 4.477 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.939e-05/0.01228, allocations: 57.66 kB / 335.6 MB, free: 4.414 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.602e-05/0.01236, allocations: 322.8 kB / 336 MB, free: 4.09 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001333/0.01249, allocations: 87.69 kB / 336 MB, free: 4.004 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001731/0.01266, allocations: 201.9 kB / 336.2 MB, free: 3.758 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003127/0.01298, allocations: 292.5 kB / 336.5 MB, free: 3.426 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.01298, allocations: 0 / 336.5 MB, free: 3.426 MB / 298.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003978/0.01337, allocations: 325 kB / 336.8 MB, free: 3.102 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.01339, allocations: 11.94 kB / 336.9 MB, free: 3.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.0134, allocations: 4 kB / 336.9 MB, free: 3.086 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.01341, allocations: 4 kB / 336.9 MB, free: 3.082 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001813/0.01359, allocations: 84.34 kB / 336.9 MB, free: 3 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.896e-06/0.0136, allocations: 11.94 kB / 337 MB, free: 2.988 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.0137, allocations: 15.98 kB / 337 MB, free: 2.973 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.292e-05/0.01373, allocations: 16 kB / 337 MB, free: 2.957 MB / 298.7 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.185e-05/0.01381, allocations: 129.8 kB / 337.1 MB, free: 2.82 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.994e-05/0.01384, allocations: 19.84 kB / 337.1 MB, free: 2.801 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003724/0.01421, allocations: 245.5 kB / 337.4 MB, free: 2.555 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.01421, allocations: 0 / 337.4 MB, free: 2.555 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.01422, allocations: 0 / 337.4 MB, free: 2.555 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.01422, allocations: 7.984 kB / 337.4 MB, free: 2.547 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009157/0.01514, allocations: 0.5554 MB / 337.9 MB, free: 1.93 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.01514, allocations: 0 / 337.9 MB, free: 1.93 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001341/0.01527, allocations: 47.97 kB / 338 MB, free: 1.883 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.01528, allocations: 0 / 338 MB, free: 1.883 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.01529, allocations: 11.98 kB / 338 MB, free: 1.871 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.01529, allocations: 8.062 kB / 338 MB, free: 1.863 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.205e-06/0.01529, allocations: 7.938 kB / 338 MB, free: 1.855 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004573/0.01575, allocations: 399.1 kB / 338.4 MB, free: 1.438 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.211e-05/0.01579, allocations: 27.91 kB / 338.4 MB, free: 1.41 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.184e-05/0.01582, allocations: 8 kB / 338.4 MB, free: 1.402 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.01592, allocations: 20.05 kB / 338.5 MB, free: 1.383 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.061e-05/0.01594, allocations: 19.84 kB / 338.5 MB, free: 1.363 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.01596, allocations: 11.98 kB / 338.5 MB, free: 1.352 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.815e-05/0.016, allocations: 107.3 kB / 338.6 MB, free: 1.246 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.016, allocations: 0 / 338.6 MB, free: 1.246 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002452/0.01625, allocations: 63.94 kB / 338.6 MB, free: 1.184 MB / 298.7 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.0007077/0.01696, allocations: 0.9577 MB / 339.6 MB, free: 192 kB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000351/0.01731, allocations: 211.8 kB / 339.8 MB, free: 15.98 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.01731, allocations: 0 / 339.8 MB, free: 15.98 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001244/0.01743, allocations: 89.02 kB / 339.9 MB, free: 15.89 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002784/0.01771, allocations: 43.97 kB / 339.9 MB, free: 15.85 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002026/0.01974, allocations: 2.331 MB / 342.3 MB, free: 13.33 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.82e-05/0.01981, allocations: 95.28 kB / 342.4 MB, free: 13.21 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001396/0.01995, allocations: 57.8 kB / 342.4 MB, free: 13.15 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.198e-05/0.02004, allocations: 56.47 kB / 342.5 MB, free: 13.1 MB / 314.7 MB Notification: Performance of SimCode: time 8.32e-07/0.02004, allocations: 0 / 342.5 MB, free: 13.1 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01903/0.03907, allocations: 5.308 MB / 347.8 MB, free: 7.914 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.765/6.804, allocations: 3.125 kB / 347.8 MB, free: 7.914 MB / 314.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_SimpleLiquidWater_fmu --startTime=0 --stopTime=100 --stepSize=0.019992 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_SimpleLiquidWater.fmu > Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.440676394850016]