Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0015/0.0015, allocations: 112 kB / 20.43 MB, free: 1.465 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001451/0.001451, allocations: 186.9 kB / 23.71 MB, free: 4.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001602/0.001602, allocations: 47.94 kB / 370.4 MB, free: 9.934 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.2216, allocations: 52.18 MB / 422.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.007814/0.2295, allocations: 4.911 MB / 427.5 MB, free: 9.66 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001019/0.2305, allocations: 0.6348 MB / 428.2 MB, free: 9.023 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.537e-05/0.2305, allocations: 0 / 428.2 MB, free: 9.023 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002213/0.2308, allocations: 31.77 kB / 428.2 MB, free: 8.992 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001595/0.2324, allocations: 0.6034 MB / 428.8 MB, free: 8.387 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002465/0.2326, allocations: 94.59 kB / 428.9 MB, free: 8.297 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002968/0.2329, allocations: 183.2 kB / 429.1 MB, free: 8.117 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.127e-05/0.233, allocations: 11.91 kB / 429.1 MB, free: 8.105 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001204/0.2342, allocations: 0.6275 MB / 429.7 MB, free: 7.477 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001111/0.2343, allocations: 51.83 kB / 429.8 MB, free: 7.426 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.2343, allocations: 4 kB / 429.8 MB, free: 7.422 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001595/0.2359, allocations: 0.8885 MB / 430.6 MB, free: 6.535 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.073e-05/0.236, allocations: 23.91 kB / 430.7 MB, free: 6.512 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.952e-05/0.236, allocations: 47.8 kB / 430.7 MB, free: 6.465 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005083/0.2365, allocations: 232.3 kB / 430.9 MB, free: 6.238 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.2366, allocations: 0 / 430.9 MB, free: 6.238 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.2366, allocations: 4 kB / 430.9 MB, free: 6.234 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.593e-06/0.2366, allocations: 0 / 430.9 MB, free: 6.234 MB / 334.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.0006471/0.2372, allocations: 349.6 kB / 431.3 MB, free: 5.863 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.2373, allocations: 8.031 kB / 431.3 MB, free: 5.855 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.469e-05/0.2373, allocations: 54.72 kB / 431.3 MB, free: 5.793 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004342/0.2378, allocations: 32.86 kB / 431.4 MB, free: 5.762 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002808/0.238, allocations: 142.3 kB / 431.5 MB, free: 5.598 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/0.2381, allocations: 12.12 kB / 431.5 MB, free: 5.586 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.826e-05/0.2381, allocations: 8 kB / 431.5 MB, free: 5.578 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002499/0.2383, allocations: 136.2 kB / 431.7 MB, free: 5.43 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.2383, allocations: 4 kB / 431.7 MB, free: 5.426 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.84e-05/0.2383, allocations: 8 kB / 431.7 MB, free: 5.418 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.2384, allocations: 0 / 431.7 MB, free: 5.418 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001845/0.2385, allocations: 107.9 kB / 431.8 MB, free: 5.312 MB / 334.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.000759/0.2393, allocations: 0.6362 MB / 432.4 MB, free: 4.609 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001418/0.2394, allocations: 78.55 kB / 432.5 MB, free: 4.523 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.03e-05/0.2395, allocations: 36.84 kB / 432.5 MB, free: 4.484 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002889/0.2398, allocations: 60.19 kB / 432.6 MB, free: 4.426 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.2398, allocations: 34.5 kB / 432.6 MB, free: 4.383 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.202e-06/0.2398, allocations: 0 / 432.6 MB, free: 4.383 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002996/0.2401, allocations: 129.6 kB / 432.8 MB, free: 4.25 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.218e-05/0.2402, allocations: 59.39 kB / 432.8 MB, free: 4.18 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.2403, allocations: 113.8 kB / 432.9 MB, free: 4.059 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.2403, allocations: 29.7 kB / 433 MB, free: 4.023 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.672e-05/0.2404, allocations: 99.94 kB / 433.1 MB, free: 3.922 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.265e-05/0.2404, allocations: 51.56 kB / 433.1 MB, free: 3.871 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.551e-05/0.2405, allocations: 37.7 kB / 433.1 MB, free: 3.828 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001565/0.2406, allocations: 318.8 kB / 433.5 MB, free: 3.508 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.421e-05/0.2407, allocations: 27.98 kB / 433.5 MB, free: 3.48 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.48e-05/0.2408, allocations: 72.36 kB / 433.6 MB, free: 3.395 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001728/0.2409, allocations: 116.1 kB / 433.7 MB, free: 3.266 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.2409, allocations: 0 / 433.7 MB, free: 3.266 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002236/0.2412, allocations: 137.4 kB / 433.8 MB, free: 3.125 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.2412, allocations: 4 kB / 433.8 MB, free: 3.121 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.2412, allocations: 4 kB / 433.8 MB, free: 3.117 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.2412, allocations: 4.312 kB / 433.8 MB, free: 3.113 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.2413, allocations: 39.92 kB / 433.8 MB, free: 3.074 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.2413, allocations: 160 / 433.8 MB, free: 3.074 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.022e-05/0.2414, allocations: 15.95 kB / 433.9 MB, free: 3.059 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.911e-05/0.2414, allocations: 11.94 kB / 433.9 MB, free: 3.047 MB / 334.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.0001089/0.2415, allocations: 125.8 kB / 434 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.677e-05/0.2416, allocations: 11.89 kB / 434 MB, free: 2.902 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002941/0.2419, allocations: 138 kB / 434.1 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.2419, allocations: 3.984 kB / 434.1 MB, free: 2.758 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.2419, allocations: 4 kB / 434.2 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.2419, allocations: 0 / 434.2 MB, free: 2.754 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004684/0.2423, allocations: 357.5 kB / 434.5 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2423, allocations: 0 / 434.5 MB, free: 2.355 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.85e-05/0.2424, allocations: 23.98 kB / 434.5 MB, free: 2.332 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.2424, allocations: 4 kB / 434.5 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.2424, allocations: 0 / 434.5 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.2424, allocations: 3.984 kB / 434.5 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2424, allocations: 0 / 434.5 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002256/0.2427, allocations: 218.9 kB / 434.7 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.898e-05/0.2427, allocations: 19.88 kB / 434.8 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/0.2427, allocations: 4 kB / 434.8 MB, free: 2.074 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.443e-05/0.2428, allocations: 4 kB / 434.8 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.007e-05/0.2429, allocations: 7.984 kB / 434.8 MB, free: 2.062 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.518e-05/0.2429, allocations: 7.984 kB / 434.8 MB, free: 2.055 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.77e-05/0.2429, allocations: 87.28 kB / 434.9 MB, free: 1.969 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2429, allocations: 0 / 434.9 MB, free: 1.969 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003296/0.2433, allocations: 67.86 kB / 434.9 MB, free: 1.902 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.0006997/0.244, allocations: 0.7902 MB / 435.7 MB, free: 1.086 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001819/0.2441, allocations: 75.91 kB / 435.8 MB, free: 1.012 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.2441, allocations: 0 / 435.8 MB, free: 1.012 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.611e-05/0.2442, allocations: 39.92 kB / 435.8 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004174/0.2446, allocations: 52.47 kB / 435.9 MB, free: 0.9219 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00167/0.2463, allocations: 1.573 MB / 437.5 MB, free: 15.24 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003528/0.2466, allocations: 0.6967 MB / 438.2 MB, free: 14.52 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001175/0.2468, allocations: 28.89 kB / 438.2 MB, free: 14.49 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.02e-05/0.2468, allocations: 31.42 kB / 438.2 MB, free: 14.46 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2468, allocations: 0 / 438.2 MB, free: 14.46 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02838/0.2752, allocations: 3.964 MB / 442.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/10.9, allocations: 16.34 kB / 442.2 MB, free: 10.63 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Media_Incompressible_Examples_TestGlycol_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Media_Incompressible_Examples_TestGlycol.fmu > Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.220428398111835]