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.001609/0.001609, allocations: 113.6 kB / 21.19 MB, free: 0.7031 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.001905/0.001905, allocations: 208.6 kB / 24.49 MB, free: 4.055 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.336/1.336, allocations: 207.6 MB / 235.3 MB, free: 9.996 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.001728/0.001728, allocations: 51.92 kB / 347.2 MB, free: 10.05 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2465/0.2482, allocations: 49.16 MB / 396.3 MB, free: 8.977 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.005484/0.2537, allocations: 4.524 MB / 400.9 MB, free: 5.746 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001625/0.2553, allocations: 1.833 MB / 402.7 MB, free: 4.414 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.174e-05/0.2554, allocations: 5.375 kB / 402.7 MB, free: 4.41 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000251/0.2556, allocations: 42.86 kB / 402.7 MB, free: 4.387 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003358/0.256, allocations: 119.6 kB / 402.9 MB, free: 4.316 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006241/0.2566, allocations: 256.1 kB / 403.1 MB, free: 4.184 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003674/0.257, allocations: 294.5 kB / 403.4 MB, free: 4.059 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.428e-05/0.257, allocations: 6.312 kB / 403.4 MB, free: 4.059 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002686/0.2573, allocations: 136.4 kB / 403.5 MB, free: 4.008 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001468/0.2574, allocations: 81.69 kB / 403.6 MB, free: 3.977 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.82e-05/0.2575, allocations: 13.16 kB / 403.6 MB, free: 3.973 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002661/0.2577, allocations: 104.9 kB / 403.7 MB, free: 3.938 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.105e-05/0.2578, allocations: 39.77 kB / 403.8 MB, free: 3.918 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.605e-05/0.2579, allocations: 75.72 kB / 403.8 MB, free: 3.883 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003304/0.2582, allocations: 210.5 kB / 404 MB, free: 3.82 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.2582, allocations: 0 / 404 MB, free: 3.82 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2582, allocations: 1.25 kB / 404 MB, free: 3.82 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.176e-05/0.2583, allocations: 0 / 404 MB, free: 3.82 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.0008634/0.2591, allocations: 424 kB / 404.5 MB, free: 3.488 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.2592, allocations: 13.48 kB / 404.5 MB, free: 3.484 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.283e-05/0.2592, allocations: 51.16 kB / 404.5 MB, free: 3.434 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001718/0.2594, allocations: 21.52 kB / 404.5 MB, free: 3.43 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002603/0.2596, allocations: 146.6 kB / 404.7 MB, free: 3.285 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.2596, allocations: 10.03 kB / 404.7 MB, free: 3.281 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.589e-05/0.2597, allocations: 13.88 kB / 404.7 MB, free: 3.277 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003948/0.2601, allocations: 231.5 kB / 404.9 MB, free: 3.133 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.2601, allocations: 1.344 kB / 404.9 MB, free: 3.133 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.391e-05/0.2601, allocations: 7.328 kB / 404.9 MB, free: 3.129 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.723e-06/0.2601, allocations: 2.875 kB / 404.9 MB, free: 3.129 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003483/0.2605, allocations: 154.8 kB / 405.1 MB, free: 3.086 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001103/0.2616, allocations: 0.8909 MB / 406 MB, free: 2.316 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003856/0.262, allocations: 144.8 kB / 406.1 MB, free: 2.254 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001428/0.2621, allocations: 58.31 kB / 406.2 MB, free: 2.227 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004056/0.2625, allocations: 330.2 kB / 406.5 MB, free: 1.949 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.749e-05/0.2625, allocations: 36.67 kB / 406.5 MB, free: 1.906 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.283e-06/0.2625, allocations: 0 / 406.5 MB, free: 1.906 MB / 318.1 MB Notification: Performance of matching and sorting (n=20): time 0.002365/0.2649, allocations: 0.6988 MB / 407.2 MB, free: 1.559 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.683e-05/0.2649, allocations: 52.75 kB / 407.3 MB, free: 1.496 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.265, allocations: 156.1 kB / 407.4 MB, free: 1.375 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.265, allocations: 26.52 kB / 407.5 MB, free: 1.344 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.535e-05/0.2651, allocations: 142.5 kB / 407.6 MB, free: 1.215 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.441e-05/0.2651, allocations: 74.83 kB / 407.7 MB, free: 1.156 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.637e-05/0.2652, allocations: 61.8 kB / 407.7 MB, free: 1.117 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.182e-05/0.2653, allocations: 331.2 kB / 408.1 MB, free: 0.793 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002432/0.2655, allocations: 83.55 kB / 408.2 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002782/0.2658, allocations: 199.5 kB / 408.3 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004856/0.2663, allocations: 291.1 kB / 408.6 MB, free: 396 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2663, allocations: 5.344 kB / 408.6 MB, free: 392 kB / 318.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000643/0.2669, allocations: 323.3 kB / 409 MB, free: 252 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/0.267, allocations: 14.91 kB / 409 MB, free: 244 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.267, allocations: 4.688 kB / 409 MB, free: 244 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.254e-05/0.267, allocations: 5.5 kB / 409 MB, free: 244 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003806/0.2674, allocations: 81.73 kB / 409.1 MB, free: 236 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.307e-05/0.2674, allocations: 6.906 kB / 409.1 MB, free: 236 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002275/0.2676, allocations: 15.39 kB / 409.1 MB, free: 232 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.226e-05/0.2676, allocations: 17.17 kB / 409.1 MB, free: 228 kB / 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.906e-05/0.2677, allocations: 147.3 kB / 409.2 MB, free: 80 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.784e-05/0.2678, allocations: 16.16 kB / 409.3 MB, free: 72 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006638/0.2684, allocations: 240.8 kB / 409.5 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.2685, allocations: 2.75 kB / 409.5 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.2685, allocations: 0.9844 kB / 409.5 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.2685, allocations: 4.609 kB / 409.5 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001362/0.2698, allocations: 0.5658 MB / 410.1 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.2698, allocations: 2.234 kB / 410.1 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002953/0.2701, allocations: 52.3 kB / 410.1 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.2701, allocations: 1.344 kB / 410.1 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.783e-05/0.2702, allocations: 13.95 kB / 410.1 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.2702, allocations: 1.281 kB / 410.1 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.2702, allocations: 1.5 kB / 410.1 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008505/0.271, allocations: 415.1 kB / 410.5 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.874e-05/0.2711, allocations: 15.23 kB / 410.6 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.141e-05/0.2711, allocations: 15.66 kB / 410.6 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002336/0.2713, allocations: 10.14 kB / 410.6 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.027e-05/0.2714, allocations: 15.22 kB / 410.6 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.399e-05/0.2714, allocations: 9.312 kB / 410.6 MB, free: 15.27 MB / 334.1 MB Notification: Performance of sorting global known variables: time 8.667e-05/0.2715, allocations: 111.4 kB / 410.7 MB, free: 15.18 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2715, allocations: 0 / 410.7 MB, free: 15.18 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004029/0.2719, allocations: 64.77 kB / 410.8 MB, free: 15.17 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.001325/0.2732, allocations: 0.9783 MB / 411.8 MB, free: 14.36 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006557/0.2739, allocations: 214.4 kB / 412 MB, free: 14.3 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.2739, allocations: 0 / 412 MB, free: 14.3 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002484/0.2741, allocations: 88.59 kB / 412 MB, free: 14.28 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004169/0.2745, allocations: 35.3 kB / 412.1 MB, free: 14.27 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003678/0.2782, allocations: 2.372 MB / 414.5 MB, free: 12.37 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003333/0.2785, allocations: 0.7201 MB / 415.2 MB, free: 11.67 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002354/0.2788, allocations: 47.02 kB / 415.2 MB, free: 11.64 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001292/0.2789, allocations: 52.62 kB / 415.3 MB, free: 11.61 MB / 334.1 MB Notification: Performance of SimCode: time 7.22e-07/0.2789, allocations: 4 kB / 415.3 MB, free: 11.61 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03485/0.3137, allocations: 4.846 MB / 420.1 MB, free: 8.969 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.2, allocations: 5.953 kB / 420.1 MB, free: 8.965 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.463535950053483]