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.001441/0.001441, allocations: 108.6 kB / 21.22 MB, free: 0.7305 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.001527/0.001527, allocations: 191.5 kB / 24.51 MB, free: 4.086 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.327/1.327, allocations: 225.6 MB / 253.3 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 179] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_4_0_0_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 47.92 kB / 371.2 MB, free: 9.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2237/0.2251, allocations: 52.19 MB / 423.4 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.006755/0.2319, allocations: 4.907 MB / 428.3 MB, free: 9.816 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000847/0.2327, allocations: 0.6386 MB / 428.9 MB, free: 9.176 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.976e-05/0.2327, allocations: 0 / 428.9 MB, free: 9.176 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002088/0.2329, allocations: 31.83 kB / 429 MB, free: 9.145 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001313/0.2343, allocations: 0.6034 MB / 429.6 MB, free: 8.539 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002127/0.2345, allocations: 87.86 kB / 429.7 MB, free: 8.453 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002456/0.2347, allocations: 191.2 kB / 429.9 MB, free: 8.266 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.801e-05/0.2348, allocations: 11.92 kB / 429.9 MB, free: 8.254 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001037/0.2358, allocations: 0.6314 MB / 430.5 MB, free: 7.621 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.45e-05/0.2359, allocations: 43.78 kB / 430.5 MB, free: 7.578 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.711e-05/0.2359, allocations: 8 kB / 430.5 MB, free: 7.57 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001348/0.2372, allocations: 0.8863 MB / 431.4 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.548e-05/0.2373, allocations: 23.91 kB / 431.5 MB, free: 6.66 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.074e-05/0.2374, allocations: 43.86 kB / 431.5 MB, free: 6.617 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003703/0.2377, allocations: 239.2 kB / 431.7 MB, free: 6.383 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.2377, allocations: 0 / 431.7 MB, free: 6.383 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.61e-07/0.2377, allocations: 0 / 431.7 MB, free: 6.383 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.04e-06/0.2377, allocations: 0 / 431.7 MB, free: 6.383 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.0004772/0.2382, allocations: 349.6 kB / 432.1 MB, free: 6.012 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.2382, allocations: 16.03 kB / 432.1 MB, free: 5.996 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.618e-05/0.2383, allocations: 4.125 kB / 432.1 MB, free: 5.992 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.16e-05/0.2383, allocations: 38.75 kB / 432.1 MB, free: 5.945 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003684/0.2387, allocations: 36.86 kB / 432.2 MB, free: 5.91 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002183/0.2389, allocations: 134.4 kB / 432.3 MB, free: 5.754 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.2389, allocations: 11.94 kB / 432.3 MB, free: 5.742 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.568e-05/0.2389, allocations: 8 kB / 432.3 MB, free: 5.734 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002431/0.2392, allocations: 141 kB / 432.5 MB, free: 5.578 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.2392, allocations: 3.938 kB / 432.5 MB, free: 5.574 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/0.2392, allocations: 4 kB / 432.5 MB, free: 5.57 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.433e-06/0.2392, allocations: 4 kB / 432.5 MB, free: 5.566 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001838/0.2394, allocations: 111.8 kB / 432.6 MB, free: 5.457 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.0007309/0.2401, allocations: 0.6363 MB / 433.2 MB, free: 4.754 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001455/0.2403, allocations: 82.48 kB / 433.3 MB, free: 4.664 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.972e-05/0.2403, allocations: 32.84 kB / 433.3 MB, free: 4.629 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002667/0.2406, allocations: 64.19 kB / 433.4 MB, free: 4.566 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.2406, allocations: 34.56 kB / 433.4 MB, free: 4.523 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.192e-06/0.2406, allocations: 0 / 433.4 MB, free: 4.523 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002967/0.2409, allocations: 140.6 kB / 433.6 MB, free: 4.383 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/0.2409, allocations: 51.41 kB / 433.6 MB, free: 4.32 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.456e-05/0.241, allocations: 113.8 kB / 433.7 MB, free: 4.199 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.2411, allocations: 25.7 kB / 433.7 MB, free: 4.168 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.92e-05/0.2411, allocations: 107.9 kB / 433.8 MB, free: 4.059 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.573e-05/0.2412, allocations: 43.64 kB / 433.9 MB, free: 4.016 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.487e-05/0.2412, allocations: 37.7 kB / 433.9 MB, free: 3.973 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.2414, allocations: 318.8 kB / 434.2 MB, free: 3.652 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.039e-05/0.2414, allocations: 23.98 kB / 434.3 MB, free: 3.629 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.228e-05/0.2415, allocations: 72.41 kB / 434.3 MB, free: 3.543 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.2416, allocations: 109 kB / 434.4 MB, free: 3.418 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.2416, allocations: 7.938 kB / 434.4 MB, free: 3.41 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002088/0.2419, allocations: 133.5 kB / 434.6 MB, free: 3.273 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.2419, allocations: 4 kB / 434.6 MB, free: 3.27 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.2419, allocations: 8.094 kB / 434.6 MB, free: 3.262 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.2419, allocations: 4 kB / 434.6 MB, free: 3.258 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001185/0.242, allocations: 31.98 kB / 434.6 MB, free: 3.227 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.242, allocations: 3.984 kB / 434.6 MB, free: 3.223 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.251e-05/0.2421, allocations: 15.89 kB / 434.6 MB, free: 3.207 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.015e-05/0.2421, allocations: 8.375 kB / 434.7 MB, free: 3.199 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 9.12e-05/0.2422, allocations: 125.7 kB / 434.8 MB, free: 3.066 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.605e-05/0.2422, allocations: 7.953 kB / 434.8 MB, free: 3.059 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002792/0.2425, allocations: 152.8 kB / 434.9 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.2425, allocations: 0 / 434.9 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.2425, allocations: 0 / 434.9 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.2425, allocations: 3.938 kB / 434.9 MB, free: 2.902 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004376/0.2429, allocations: 361.5 kB / 435.3 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.2429, allocations: 0 / 435.3 MB, free: 2.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.084e-05/0.243, allocations: 27.92 kB / 435.3 MB, free: 2.473 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.243, allocations: 4 kB / 435.3 MB, free: 2.469 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.243, allocations: 4 kB / 435.3 MB, free: 2.465 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.243, allocations: 4 kB / 435.3 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.243, allocations: 0 / 435.3 MB, free: 2.461 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002079/0.2432, allocations: 207.4 kB / 435.5 MB, free: 2.242 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.121e-05/0.2433, allocations: 19.88 kB / 435.6 MB, free: 2.223 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.2433, allocations: 4 kB / 435.6 MB, free: 2.219 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.339e-05/0.2434, allocations: 7.984 kB / 435.6 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.929e-05/0.2434, allocations: 7.984 kB / 435.6 MB, free: 2.203 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.2434, allocations: 8 kB / 435.6 MB, free: 2.195 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.398e-05/0.2435, allocations: 95.2 kB / 435.7 MB, free: 2.102 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2435, allocations: 0 / 435.7 MB, free: 2.102 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003131/0.2438, allocations: 59.88 kB / 435.7 MB, free: 2.043 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.0006463/0.2444, allocations: 0.7972 MB / 436.5 MB, free: 1.223 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001705/0.2446, allocations: 79.84 kB / 436.6 MB, free: 1.145 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.2446, allocations: 0 / 436.6 MB, free: 1.145 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.548e-05/0.2447, allocations: 35.98 kB / 436.6 MB, free: 1.109 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004073/0.2451, allocations: 48.42 kB / 436.7 MB, free: 1.062 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001547/0.2466, allocations: 1.575 MB / 438.3 MB, free: 15.38 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000293/0.2469, allocations: 0.6967 MB / 439 MB, free: 14.65 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001116/0.247, allocations: 32.89 kB / 439 MB, free: 14.62 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.598e-05/0.2471, allocations: 23.44 kB / 439 MB, free: 14.6 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2471, allocations: 0 / 439 MB, free: 14.6 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02236/0.2695, allocations: 3.991 MB / 443 MB, free: 10.77 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.21/10.48, allocations: 13.16 kB / 443 MB, free: 10.76 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: 12.814717779052444]