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.00133/0.00133, allocations: 107.6 kB / 21.18 MB, free: 0.6094 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.001658/0.001658, allocations: 215 kB / 24.47 MB, free: 3.938 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.409/1.409, allocations: 207.7 MB / 235.3 MB, free: 9.816 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.00172/0.00172, allocations: 54.58 kB / 347.2 MB, free: 9.922 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.264, allocations: 49.16 MB / 396.3 MB, free: 8.895 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.008374/0.2723, allocations: 7.176 MB / 403.5 MB, free: 4.082 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006887/0.273, allocations: 0.5648 MB / 404.1 MB, free: 3.715 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.046e-05/0.2731, allocations: 4 kB / 404.1 MB, free: 3.711 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002122/0.2733, allocations: 28.73 kB / 404.1 MB, free: 3.695 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001446/0.2747, allocations: 0.6152 MB / 404.7 MB, free: 3.461 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002135/0.275, allocations: 93.33 kB / 404.8 MB, free: 3.414 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002287/0.2752, allocations: 187.7 kB / 405 MB, free: 3.328 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.07e-05/0.2752, allocations: 4.359 kB / 405 MB, free: 3.328 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001076/0.2763, allocations: 0.6289 MB / 405.6 MB, free: 3.211 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.452e-05/0.2764, allocations: 53.12 kB / 405.7 MB, free: 3.188 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.123e-05/0.2764, allocations: 4.719 kB / 405.7 MB, free: 3.188 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001418/0.2778, allocations: 0.8637 MB / 406.5 MB, free: 3.023 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.296e-05/0.2779, allocations: 22.66 kB / 406.6 MB, free: 3.012 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.833e-05/0.2779, allocations: 47.64 kB / 406.6 MB, free: 2.988 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000403/0.2783, allocations: 229.5 kB / 406.8 MB, free: 2.918 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2783, allocations: 0 / 406.8 MB, free: 2.918 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2783, allocations: 0 / 406.8 MB, free: 2.918 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.658e-06/0.2784, allocations: 1.25 kB / 406.8 MB, free: 2.918 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.0004207/0.2788, allocations: 352.7 kB / 407.2 MB, free: 2.598 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.2788, allocations: 18.45 kB / 407.2 MB, free: 2.59 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.77e-05/0.2789, allocations: 39.38 kB / 407.2 MB, free: 2.547 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003927/0.2792, allocations: 35.8 kB / 407.3 MB, free: 2.539 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002644/0.2795, allocations: 137.7 kB / 407.4 MB, free: 2.398 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.2795, allocations: 6.781 kB / 407.4 MB, free: 2.395 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.031e-05/0.2795, allocations: 10.91 kB / 407.4 MB, free: 2.391 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002704/0.2798, allocations: 223.8 kB / 407.6 MB, free: 2.195 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.2798, allocations: 5.234 kB / 407.7 MB, free: 2.191 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.2798, allocations: 5.531 kB / 407.7 MB, free: 2.188 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/0.2799, allocations: 2.094 kB / 407.7 MB, free: 2.188 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001865/0.28, allocations: 106 kB / 407.8 MB, free: 2.16 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.0005893/0.2806, allocations: 0.5758 MB / 408.3 MB, free: 1.617 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001441/0.2808, allocations: 89.7 kB / 408.4 MB, free: 1.562 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.716e-05/0.2808, allocations: 36.97 kB / 408.5 MB, free: 1.543 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000269/0.2811, allocations: 56.58 kB / 408.5 MB, free: 1.535 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/0.2811, allocations: 31.94 kB / 408.5 MB, free: 1.496 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.212e-06/0.2811, allocations: 1.375 kB / 408.6 MB, free: 1.496 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.000273/0.2814, allocations: 129.5 kB / 408.7 MB, free: 1.43 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.197e-05/0.2814, allocations: 57.3 kB / 408.7 MB, free: 1.363 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.305e-05/0.2815, allocations: 120.5 kB / 408.9 MB, free: 1.254 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.2815, allocations: 29.7 kB / 408.9 MB, free: 1.219 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.798e-05/0.2815, allocations: 106.6 kB / 409 MB, free: 1.117 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.823e-05/0.2816, allocations: 48.75 kB / 409 MB, free: 1.078 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.507e-05/0.2816, allocations: 37.45 kB / 409.1 MB, free: 1.051 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.077e-05/0.2817, allocations: 320.1 kB / 409.4 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.847e-05/0.2817, allocations: 25.5 kB / 409.4 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.504e-05/0.2818, allocations: 68.69 kB / 409.5 MB, free: 0.668 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00012/0.2819, allocations: 103.9 kB / 409.6 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.2819, allocations: 4.656 kB / 409.6 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001907/0.2821, allocations: 137.8 kB / 409.7 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.2821, allocations: 6.203 kB / 409.7 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.2821, allocations: 1.312 kB / 409.7 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.2821, allocations: 2.469 kB / 409.7 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.2823, allocations: 34.23 kB / 409.8 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.595e-06/0.2823, allocations: 5.344 kB / 409.8 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.842e-05/0.2823, allocations: 12.56 kB / 409.8 MB, free: 0.5 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.138e-05/0.2824, allocations: 16.27 kB / 409.8 MB, free: 0.4922 MB / 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 6.448e-05/0.2824, allocations: 119.7 kB / 409.9 MB, free: 380 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.509e-05/0.2825, allocations: 8.266 kB / 409.9 MB, free: 376 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002609/0.2827, allocations: 151.5 kB / 410.1 MB, free: 284 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.2827, allocations: 5.719 kB / 410.1 MB, free: 280 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.2827, allocations: 0.75 kB / 410.1 MB, free: 280 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.2827, allocations: 1.922 kB / 410.1 MB, free: 280 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003904/0.2831, allocations: 353 kB / 410.4 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.2831, allocations: 4 kB / 410.4 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.693e-05/0.2832, allocations: 28.66 kB / 410.4 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.2832, allocations: 1.469 kB / 410.4 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.2832, allocations: 6.016 kB / 410.5 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.2832, allocations: 2.062 kB / 410.5 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2832, allocations: 0 / 410.5 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002223/0.2835, allocations: 200.3 kB / 410.7 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.599e-05/0.2835, allocations: 26.56 kB / 410.7 MB, free: 15.78 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.101e-05/0.2835, allocations: 5.812 kB / 410.7 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.272e-05/0.2836, allocations: 0.6094 kB / 410.7 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.36e-05/0.2836, allocations: 12.56 kB / 410.7 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.69e-05/0.2837, allocations: 10.11 kB / 410.7 MB, free: 15.77 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.918e-05/0.2837, allocations: 94.8 kB / 410.8 MB, free: 15.68 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2837, allocations: 3.938 kB / 410.8 MB, free: 15.68 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000346/0.2841, allocations: 56.69 kB / 410.9 MB, free: 15.67 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.0007083/0.2848, allocations: 0.7878 MB / 411.6 MB, free: 14.96 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001861/0.285, allocations: 84.05 kB / 411.7 MB, free: 14.93 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.285, allocations: 1.625 kB / 411.7 MB, free: 14.93 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.648e-05/0.285, allocations: 29.56 kB / 411.8 MB, free: 14.93 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004203/0.2855, allocations: 48.53 kB / 411.8 MB, free: 14.91 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001619/0.2871, allocations: 1.572 MB / 413.4 MB, free: 13.47 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.236e-05/0.2872, allocations: 84.81 kB / 413.5 MB, free: 13.38 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001223/0.2873, allocations: 26.41 kB / 413.5 MB, free: 13.37 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.237e-05/0.2874, allocations: 36.91 kB / 413.5 MB, free: 13.34 MB / 334.1 MB Notification: Performance of SimCode: time 5.81e-07/0.2874, allocations: 4 kB / 413.5 MB, free: 13.34 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02908/0.3164, allocations: 4.44 MB / 418 MB, free: 10.62 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.59/10.91, allocations: 20.83 kB / 418 MB, free: 10.6 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.242733471095562]