Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.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.001888/0.001888, 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.002476/0.002476, 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.396/1.396, allocations: 207.6 MB / 235.3 MB, free: 10 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.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Incompressible_Examples_TestGlycol",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.001918/0.001918, allocations: 51.92 kB / 347.2 MB, free: 10.05 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2492/0.2511, allocations: 49.16 MB / 396.3 MB, free: 9.211 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.008381/0.2595, allocations: 7.851 MB / 404.2 MB, free: 3.66 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006904/0.2602, allocations: 0.6276 MB / 404.8 MB, free: 3.223 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.29e-05/0.2602, allocations: 0 / 404.8 MB, free: 3.223 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002045/0.2604, allocations: 29.94 kB / 404.8 MB, free: 3.207 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001322/0.2617, allocations: 0.6081 MB / 405.5 MB, free: 2.977 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001967/0.2619, allocations: 96.12 kB / 405.5 MB, free: 2.926 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002219/0.2621, allocations: 184.4 kB / 405.7 MB, free: 2.844 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.523e-05/0.2622, allocations: 3.328 kB / 405.7 MB, free: 2.844 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001024/0.2632, allocations: 0.6345 MB / 406.4 MB, free: 2.723 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.923e-05/0.2633, allocations: 52.81 kB / 406.4 MB, free: 2.699 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.515e-05/0.2633, allocations: 4.438 kB / 406.4 MB, free: 2.699 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001326/0.2646, allocations: 0.8886 MB / 407.3 MB, free: 2.516 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.266e-05/0.2647, allocations: 20.36 kB / 407.3 MB, free: 2.504 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.572e-05/0.2647, allocations: 53.73 kB / 407.4 MB, free: 2.477 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003757/0.2651, allocations: 229.8 kB / 407.6 MB, free: 2.402 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2651, allocations: 0 / 407.6 MB, free: 2.402 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.2651, allocations: 2.125 kB / 407.6 MB, free: 2.402 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.698e-06/0.2651, allocations: 0 / 407.6 MB, free: 2.402 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0003825/0.2655, allocations: 348.9 kB / 407.9 MB, free: 2.086 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.112e-05/0.2655, allocations: 17.58 kB / 408 MB, free: 2.078 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.054e-05/0.2656, allocations: 40.08 kB / 408 MB, free: 2.035 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003741/0.2659, allocations: 35.17 kB / 408 MB, free: 2.027 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002054/0.2661, allocations: 141.2 kB / 408.2 MB, free: 1.883 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.464e-06/0.2661, allocations: 4.5 kB / 408.2 MB, free: 1.883 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.758e-05/0.2662, allocations: 9.875 kB / 408.2 MB, free: 1.879 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002009/0.2664, allocations: 142 kB / 408.3 MB, free: 1.781 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.2664, allocations: 0 / 408.3 MB, free: 1.781 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.2664, allocations: 5.312 kB / 408.3 MB, free: 1.777 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.2664, allocations: 2.75 kB / 408.3 MB, free: 1.777 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001535/0.2665, allocations: 108.9 kB / 408.4 MB, free: 1.75 MB / 318.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005269/0.2671, allocations: 0.645 MB / 409.1 MB, free: 1.133 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.2672, allocations: 78.16 kB / 409.2 MB, free: 1.09 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.049e-05/0.2672, allocations: 32.97 kB / 409.2 MB, free: 1.074 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002453/0.2675, allocations: 55.25 kB / 409.2 MB, free: 1.066 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.385e-05/0.2675, allocations: 39.88 kB / 409.3 MB, free: 1.02 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.182e-06/0.2675, allocations: 0 / 409.3 MB, free: 1.02 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002547/0.2678, allocations: 133.3 kB / 409.4 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.953e-05/0.2678, allocations: 53.36 kB / 409.5 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.395e-05/0.2678, allocations: 124.4 kB / 409.6 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.2678, allocations: 27.36 kB / 409.6 MB, free: 0.7422 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.389e-05/0.2679, allocations: 103.7 kB / 409.7 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.637e-05/0.2679, allocations: 53.16 kB / 409.8 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.314e-05/0.268, allocations: 33.31 kB / 409.8 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.774e-05/0.268, allocations: 324.2 kB / 410.1 MB, free: 260 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.712e-05/0.268, allocations: 33.52 kB / 410.2 MB, free: 244 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.848e-05/0.2681, allocations: 63.5 kB / 410.2 MB, free: 188 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00011/0.2682, allocations: 107.4 kB / 410.3 MB, free: 104 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2682, allocations: 4 kB / 410.3 MB, free: 100 kB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001808/0.2684, allocations: 138 kB / 410.5 MB, free: 28 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.2684, allocations: 6.094 kB / 410.5 MB, free: 28 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.2684, allocations: 1.625 kB / 410.5 MB, free: 28 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.2684, allocations: 1.875 kB / 410.5 MB, free: 28 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.2685, allocations: 34.25 kB / 410.5 MB, free: 24 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.882e-06/0.2685, allocations: 10.02 kB / 410.5 MB, free: 16 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.545e-05/0.2686, allocations: 12.02 kB / 410.5 MB, free: 8 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.2686, allocations: 7 kB / 410.5 MB, free: 8 kB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 18 * 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.0001185/0.2687, allocations: 127.3 kB / 410.7 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.768e-05/0.2688, allocations: 10.14 kB / 410.7 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002811/0.2691, allocations: 140.3 kB / 410.8 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.2691, allocations: 7.938 kB / 410.8 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.2691, allocations: 2 kB / 410.8 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.2691, allocations: 0.6562 kB / 410.8 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004537/0.2695, allocations: 366.7 kB / 411.2 MB, free: 15.47 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.2695, allocations: 0 / 411.2 MB, free: 15.47 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.028e-05/0.2696, allocations: 25.7 kB / 411.2 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.2696, allocations: 1.656 kB / 411.2 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.916e-06/0.2696, allocations: 1.547 kB / 411.2 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.2696, allocations: 0.6094 kB / 411.2 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.2696, allocations: 5.094 kB / 411.2 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002168/0.2698, allocations: 213.6 kB / 411.4 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.95e-05/0.2699, allocations: 23.25 kB / 411.4 MB, free: 15.28 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.002e-05/0.2699, allocations: 5.547 kB / 411.4 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.304e-05/0.27, allocations: 1.672 kB / 411.4 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.341e-05/0.27, allocations: 8.391 kB / 411.5 MB, free: 15.27 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.653e-05/0.27, allocations: 10.62 kB / 411.5 MB, free: 15.27 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.749e-05/0.2701, allocations: 90.33 kB / 411.5 MB, free: 15.19 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2701, allocations: 4 kB / 411.6 MB, free: 15.19 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003214/0.2704, allocations: 61.61 kB / 411.6 MB, free: 15.17 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (13): * Single equations (assignments): 13 * 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.0006538/0.2711, allocations: 0.7931 MB / 412.4 MB, free: 14.46 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001684/0.2712, allocations: 79.81 kB / 412.5 MB, free: 14.44 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.2712, allocations: 0 / 412.5 MB, free: 14.44 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.395e-05/0.2713, allocations: 38 kB / 412.5 MB, free: 14.42 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004061/0.2717, allocations: 47.08 kB / 412.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001602/0.2733, allocations: 1.566 MB / 414.1 MB, free: 12.95 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003962/0.2737, allocations: 0.7012 MB / 414.8 MB, free: 12.23 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001099/0.2738, allocations: 22.16 kB / 414.9 MB, free: 12.22 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.471e-05/0.2739, allocations: 37.33 kB / 414.9 MB, free: 12.19 MB / 334.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2739, allocations: 3.938 kB / 414.9 MB, free: 12.19 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0302/0.3041, allocations: 3.989 MB / 418.9 MB, free: 9.922 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.09, allocations: 9.234 kB / 418.9 MB, free: 9.914 MB / 334.1 MB " [Timeout remaining time 649] (rm -f Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Incompressible_Examples_TestGlycol_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Incompressible_Examples_TestGlycol.fmu > Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.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.434491214109585]