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.001261/0.001261, allocations: 104.9 kB / 21.96 MB, free: 5.219 MB / 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.001326/0.001326, allocations: 214 kB / 25.26 MB, free: 3.129 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.261/1.261, allocations: 207.7 MB / 236.1 MB, free: 9.789 MB / 190.1 MB " [Timeout remaining time 179] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_SimpleLiquidWater",fmuType="cs",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.001713/0.001713, allocations: 59.86 kB / 348 MB, free: 9.898 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2118/0.2135, allocations: 49.16 MB / 397.1 MB, free: 8.871 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.004523/0.218, allocations: 4.201 MB / 401.3 MB, free: 5.977 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001464/0.2195, allocations: 1.622 MB / 402.9 MB, free: 4.867 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.024e-05/0.2195, allocations: 1.25 kB / 402.9 MB, free: 4.867 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002293/0.2198, allocations: 40.08 kB / 403 MB, free: 4.848 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003326/0.2201, allocations: 127.1 kB / 403.1 MB, free: 4.77 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006136/0.2207, allocations: 261.1 kB / 403.4 MB, free: 4.633 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000326/0.221, allocations: 289.3 kB / 403.6 MB, free: 4.512 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.371e-05/0.2211, allocations: 8.531 kB / 403.7 MB, free: 4.512 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002599/0.2214, allocations: 136.2 kB / 403.8 MB, free: 4.461 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001221/0.2215, allocations: 85.89 kB / 403.9 MB, free: 4.426 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.979e-05/0.2215, allocations: 8.656 kB / 403.9 MB, free: 4.426 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002343/0.2217, allocations: 96.58 kB / 404 MB, free: 4.398 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.241e-05/0.2218, allocations: 34.02 kB / 404 MB, free: 4.383 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.799e-05/0.2219, allocations: 73.5 kB / 404.1 MB, free: 4.352 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003166/0.2222, allocations: 216 kB / 404.3 MB, free: 4.281 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2222, allocations: 0 / 404.3 MB, free: 4.281 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.2222, allocations: 3.938 kB / 404.3 MB, free: 4.277 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.2222, allocations: 5.219 kB / 404.3 MB, free: 4.273 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.0008066/0.223, allocations: 418.8 kB / 404.7 MB, free: 3.945 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.2231, allocations: 15.09 kB / 404.7 MB, free: 3.941 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.129e-05/0.2231, allocations: 8.719 kB / 404.7 MB, free: 3.938 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.76e-05/0.2231, allocations: 45.97 kB / 404.8 MB, free: 3.891 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000181/0.2233, allocations: 20.86 kB / 404.8 MB, free: 3.887 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002311/0.2235, allocations: 152.1 kB / 404.9 MB, free: 3.738 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.2236, allocations: 9.75 kB / 405 MB, free: 3.734 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.187e-05/0.2236, allocations: 21.88 kB / 405 MB, free: 3.723 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004033/0.224, allocations: 368.3 kB / 405.3 MB, free: 3.41 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.224, allocations: 6.031 kB / 405.3 MB, free: 3.406 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.515e-05/0.224, allocations: 6.281 kB / 405.3 MB, free: 3.402 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.224, allocations: 7.312 kB / 405.4 MB, free: 3.398 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003265/0.2244, allocations: 155.3 kB / 405.5 MB, free: 3.355 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00105/0.2254, allocations: 0.866 MB / 406.4 MB, free: 2.594 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000365/0.2258, allocations: 144.6 kB / 406.5 MB, free: 2.531 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000137/0.2259, allocations: 54.31 kB / 406.6 MB, free: 2.508 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003989/0.2263, allocations: 324.6 kB / 406.9 MB, free: 2.23 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.2263, allocations: 40.8 kB / 406.9 MB, free: 2.184 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 2.635e-06/0.2264, allocations: 0 / 406.9 MB, free: 2.184 MB / 318.1 MB Notification: Performance of matching and sorting (n=20): time 0.002371/0.2287, allocations: 0.6955 MB / 407.6 MB, free: 1.84 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.582e-05/0.2287, allocations: 57.72 kB / 407.7 MB, free: 1.773 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001103/0.2289, allocations: 156 kB / 407.8 MB, free: 1.652 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.148e-05/0.2289, allocations: 30.83 kB / 407.9 MB, free: 1.617 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.297e-05/0.2289, allocations: 141 kB / 408 MB, free: 1.488 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.597e-05/0.229, allocations: 72.59 kB / 408.1 MB, free: 1.434 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.014e-05/0.2291, allocations: 61.47 kB / 408.1 MB, free: 1.395 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.78e-05/0.2291, allocations: 327.2 kB / 408.4 MB, free: 1.074 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002316/0.2293, allocations: 85.97 kB / 408.5 MB, free: 1.051 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002585/0.2296, allocations: 193.5 kB / 408.7 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004616/0.2301, allocations: 294.7 kB / 409 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.2301, allocations: 1.375 kB / 409 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006178/0.2307, allocations: 327.2 kB / 409.3 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.2307, allocations: 7.672 kB / 409.3 MB, free: 0.5352 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.2307, allocations: 6.688 kB / 409.3 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.2307, allocations: 5.5 kB / 409.3 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003595/0.2311, allocations: 82.94 kB / 409.4 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.2311, allocations: 9.469 kB / 409.4 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002253/0.2313, allocations: 16.53 kB / 409.5 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.334e-05/0.2314, allocations: 17.59 kB / 409.5 MB, free: 0.5117 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 9.696e-05/0.2315, allocations: 143.2 kB / 409.6 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5e-05/0.2315, allocations: 16.16 kB / 409.6 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005976/0.2321, allocations: 237 kB / 409.9 MB, free: 264 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.2321, allocations: 3.938 kB / 409.9 MB, free: 264 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.2321, allocations: 0 / 409.9 MB, free: 264 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.2321, allocations: 0.9844 kB / 409.9 MB, free: 264 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001241/0.2334, allocations: 0.5529 MB / 410.4 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.2334, allocations: 0 / 410.4 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002896/0.2337, allocations: 61.41 kB / 410.5 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.2337, allocations: 1.469 kB / 410.5 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.528e-05/0.2337, allocations: 13.06 kB / 410.5 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.422e-06/0.2337, allocations: 6.641 kB / 410.5 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.2337, allocations: 1.469 kB / 410.5 MB, free: 15.84 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008008/0.2345, allocations: 409.3 kB / 410.9 MB, free: 15.58 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.207e-05/0.2345, allocations: 17.92 kB / 410.9 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.873e-05/0.2346, allocations: 7.422 kB / 410.9 MB, free: 15.57 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002366/0.2348, allocations: 14.88 kB / 410.9 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.609e-05/0.2348, allocations: 12.86 kB / 410.9 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-05/0.2349, allocations: 13.56 kB / 411 MB, free: 15.56 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.919e-05/0.235, allocations: 107.6 kB / 411.1 MB, free: 15.48 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.235, allocations: 4.062 kB / 411.1 MB, free: 15.47 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003952/0.2353, allocations: 66.86 kB / 411.1 MB, free: 15.46 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.001261/0.2366, allocations: 0.9705 MB / 412.1 MB, free: 14.66 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006104/0.2372, allocations: 213.5 kB / 412.3 MB, free: 14.6 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.2372, allocations: 0 / 412.3 MB, free: 14.6 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002341/0.2375, allocations: 85.55 kB / 412.4 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.0004144/0.2379, allocations: 46.72 kB / 412.4 MB, free: 14.56 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003612/0.2415, allocations: 2.364 MB / 414.8 MB, free: 12.69 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001003/0.2416, allocations: 108.9 kB / 414.9 MB, free: 12.61 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002281/0.2418, allocations: 50.67 kB / 415 MB, free: 12.58 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001266/0.2419, allocations: 47.09 kB / 415 MB, free: 12.55 MB / 334.1 MB Notification: Performance of SimCode: time 6.81e-07/0.2419, allocations: 0 / 415 MB, free: 12.55 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02668/0.2686, allocations: 4.98 MB / 420 MB, free: 9.82 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.67/10.93, allocations: 7.438 kB / 420 MB, free: 9.816 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.208240289008245]