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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 212 kB / 24.47 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.375/1.375, allocations: 207.7 MB / 235.3 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001744/0.001744, allocations: 59.92 kB / 347.2 MB, free: 9.91 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2338, allocations: 49.16 MB / 396.3 MB, free: 8.871 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.005174/0.239, allocations: 4.205 MB / 400.5 MB, free: 5.973 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001666/0.2406, allocations: 1.624 MB / 402.2 MB, free: 4.863 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.916e-05/0.2407, allocations: 1.438 kB / 402.2 MB, free: 4.863 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002362/0.241, allocations: 39.05 kB / 402.2 MB, free: 4.844 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003559/0.2413, allocations: 126.9 kB / 402.3 MB, free: 4.766 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006372/0.242, allocations: 261.7 kB / 402.6 MB, free: 4.629 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003509/0.2423, allocations: 290.9 kB / 402.9 MB, free: 4.508 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.741e-05/0.2424, allocations: 14.39 kB / 402.9 MB, free: 4.504 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002818/0.2427, allocations: 129.4 kB / 403 MB, free: 4.461 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001432/0.2428, allocations: 81.67 kB / 403.1 MB, free: 4.43 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.34e-05/0.2428, allocations: 8.5 kB / 403.1 MB, free: 4.43 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002499/0.2431, allocations: 91.94 kB / 403.2 MB, free: 4.406 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.184e-05/0.2432, allocations: 39.19 kB / 403.2 MB, free: 4.387 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.879e-05/0.2432, allocations: 68 kB / 403.3 MB, free: 4.359 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003188/0.2436, allocations: 213.9 kB / 403.5 MB, free: 4.289 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.2436, allocations: 4 kB / 403.5 MB, free: 4.285 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2436, allocations: 1.125 kB / 403.5 MB, free: 4.285 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.2436, allocations: 0 / 403.5 MB, free: 4.285 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.0008358/0.2444, allocations: 422.5 kB / 403.9 MB, free: 3.953 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.2444, allocations: 14.08 kB / 403.9 MB, free: 3.949 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.468e-05/0.2445, allocations: 46.89 kB / 404 MB, free: 3.902 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000193/0.2447, allocations: 25.31 kB / 404 MB, free: 3.895 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000247/0.2449, allocations: 148.3 kB / 404.1 MB, free: 3.75 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.2449, allocations: 14.42 kB / 404.2 MB, free: 3.742 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.395e-05/0.245, allocations: 13.75 kB / 404.2 MB, free: 3.738 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004158/0.2454, allocations: 371.3 kB / 404.5 MB, free: 3.422 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.2454, allocations: 4.938 kB / 404.5 MB, free: 3.418 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.376e-05/0.2454, allocations: 7.406 kB / 404.5 MB, free: 3.414 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.294e-06/0.2454, allocations: 3.188 kB / 404.6 MB, free: 3.414 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003423/0.2458, allocations: 154.5 kB / 404.7 MB, free: 3.371 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001105/0.2469, allocations: 0.8666 MB / 405.6 MB, free: 2.609 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003891/0.2473, allocations: 143.9 kB / 405.7 MB, free: 2.547 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001387/0.2474, allocations: 62.05 kB / 405.8 MB, free: 2.516 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004003/0.2478, allocations: 327.9 kB / 406.1 MB, free: 2.234 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.493e-05/0.2478, allocations: 40.73 kB / 406.1 MB, free: 2.188 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.483e-06/0.2478, allocations: 0 / 406.1 MB, free: 2.188 MB / 318.1 MB Notification: Performance of matching and sorting (n=20): time 0.00239/0.2502, allocations: 0.6834 MB / 406.8 MB, free: 1.855 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.014e-05/0.2502, allocations: 54.25 kB / 406.9 MB, free: 1.793 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.2504, allocations: 164.4 kB / 407 MB, free: 1.664 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.2504, allocations: 35.02 kB / 407.1 MB, free: 1.625 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.219e-05/0.2504, allocations: 146.5 kB / 407.2 MB, free: 1.492 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.758e-05/0.2505, allocations: 74.92 kB / 407.3 MB, free: 1.434 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.339e-05/0.2506, allocations: 62.42 kB / 407.3 MB, free: 1.395 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.146e-05/0.2506, allocations: 327.2 kB / 407.7 MB, free: 1.074 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002574/0.2509, allocations: 79.48 kB / 407.7 MB, free: 1.055 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002723/0.2511, allocations: 198.6 kB / 407.9 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005021/0.2516, allocations: 299.7 kB / 408.2 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.2516, allocations: 0.6562 kB / 408.2 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006746/0.2523, allocations: 322.8 kB / 408.5 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.2523, allocations: 7.531 kB / 408.5 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.2523, allocations: 8.125 kB / 408.6 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.2524, allocations: 5.5 kB / 408.6 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003669/0.2527, allocations: 81.61 kB / 408.6 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.2527, allocations: 11.08 kB / 408.6 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002327/0.253, allocations: 16.72 kB / 408.7 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.404e-05/0.253, allocations: 12.59 kB / 408.7 MB, free: 0.5156 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.827e-05/0.2531, allocations: 136.1 kB / 408.8 MB, free: 392 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.852e-05/0.2531, allocations: 18.78 kB / 408.8 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006184/0.2538, allocations: 245.9 kB / 409.1 MB, free: 264 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.2538, allocations: 2.031 kB / 409.1 MB, free: 264 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.2538, allocations: 1.375 kB / 409.1 MB, free: 264 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.2538, allocations: 5.406 kB / 409.1 MB, free: 260 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001257/0.255, allocations: 0.5491 MB / 409.6 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.255, allocations: 1.281 kB / 409.6 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002921/0.2553, allocations: 54.23 kB / 409.7 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.2553, allocations: 7.062 kB / 409.7 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.427e-05/0.2554, allocations: 9.859 kB / 409.7 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.2554, allocations: 1.406 kB / 409.7 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.2554, allocations: 1.844 kB / 409.7 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008667/0.2562, allocations: 406.3 kB / 410.1 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.121e-05/0.2563, allocations: 9.328 kB / 410.1 MB, free: 15.59 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.914e-05/0.2563, allocations: 15.44 kB / 410.1 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002287/0.2565, allocations: 10.53 kB / 410.1 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.159e-05/0.2566, allocations: 23.84 kB / 410.2 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.276e-05/0.2566, allocations: 10.86 kB / 410.2 MB, free: 15.57 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.45e-05/0.2567, allocations: 106.4 kB / 410.3 MB, free: 15.48 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2567, allocations: 0 / 410.3 MB, free: 15.48 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000387/0.257, allocations: 65.06 kB / 410.3 MB, free: 15.47 MB / 334.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.00128/0.2583, allocations: 0.9762 MB / 411.3 MB, free: 14.67 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000624/0.259, allocations: 227.6 kB / 411.5 MB, free: 14.6 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.853e-06/0.259, allocations: 0 / 411.5 MB, free: 14.6 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002464/0.2592, allocations: 84.36 kB / 411.6 MB, free: 14.58 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003971/0.2596, allocations: 38.33 kB / 411.7 MB, free: 14.56 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003678/0.2633, allocations: 2.368 MB / 414 MB, free: 12.69 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001114/0.2634, allocations: 107.9 kB / 414.1 MB, free: 12.61 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002381/0.2636, allocations: 45.88 kB / 414.2 MB, free: 12.59 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001342/0.2638, allocations: 56.5 kB / 414.2 MB, free: 12.55 MB / 334.1 MB Notification: Performance of SimCode: time 7.02e-07/0.2638, allocations: 0 / 414.2 MB, free: 12.55 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03298/0.2967, allocations: 5.218 MB / 419.4 MB, free: 9.496 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.6/10.9, allocations: 1.562 kB / 419.4 MB, free: 9.496 MB / 334.1 MB " [Timeout remaining time 649] (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 --stepSize=0.019992 --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) [Timeout 52.5] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.147211611736566]