Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001569/0.001569, allocations: 114 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001715/0.001715, allocations: 214.7 kB / 23.75 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.403/1.403, allocations: 230.5 MB / 257.4 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_trunk_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_trunk_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001843/0.001843, allocations: 67.89 kB / 377.8 MB, free: 3.027 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.2286, allocations: 53.41 MB / 431.2 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.007223/0.2358, allocations: 4.986 MB / 436.2 MB, free: 1.684 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009372/0.2368, allocations: 0.6231 MB / 436.8 MB, free: 1.059 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.737e-05/0.2368, allocations: 4 kB / 436.8 MB, free: 1.055 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002145/0.237, allocations: 35.7 kB / 436.8 MB, free: 1.02 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001463/0.2385, allocations: 0.6111 MB / 437.4 MB, free: 416 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002252/0.2387, allocations: 91.5 kB / 437.5 MB, free: 328 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002705/0.239, allocations: 183.3 kB / 437.7 MB, free: 144 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.84e-05/0.239, allocations: 7.984 kB / 437.7 MB, free: 136 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001139/0.2402, allocations: 0.6275 MB / 438.3 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.704e-05/0.2403, allocations: 51.77 kB / 438.4 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.82e-05/0.2403, allocations: 4 kB / 438.4 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001499/0.2418, allocations: 0.9198 MB / 439.3 MB, free: 14.53 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.759e-05/0.2418, allocations: 23.86 kB / 439.3 MB, free: 14.51 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.577e-05/0.2419, allocations: 51.78 kB / 439.4 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004219/0.2423, allocations: 240.3 kB / 439.6 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.2423, allocations: 0 / 439.6 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2423, allocations: 0 / 439.6 MB, free: 14.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.2423, allocations: 0 / 439.6 MB, free: 14.22 MB / 350.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.000505/0.2428, allocations: 353.6 kB / 440 MB, free: 13.85 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.2429, allocations: 8.031 kB / 440 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.743e-05/0.2429, allocations: 38.75 kB / 440 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004075/0.2433, allocations: 40.86 kB / 440 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002362/0.2436, allocations: 134.4 kB / 440.2 MB, free: 13.6 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.2436, allocations: 8.125 kB / 440.2 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.989e-05/0.2436, allocations: 12 kB / 440.2 MB, free: 13.58 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002436/0.2439, allocations: 143.7 kB / 440.3 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.2439, allocations: 3.938 kB / 440.3 MB, free: 13.42 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.709e-05/0.2439, allocations: 4 kB / 440.3 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.2439, allocations: 4 kB / 440.3 MB, free: 13.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001791/0.2441, allocations: 115.8 kB / 440.5 MB, free: 13.3 MB / 350.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.0007457/0.2448, allocations: 0.6285 MB / 441.1 MB, free: 12.6 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001466/0.245, allocations: 78.48 kB / 441.2 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.421e-05/0.245, allocations: 44.84 kB / 441.2 MB, free: 12.47 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002492/0.2453, allocations: 55.94 kB / 441.3 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.2453, allocations: 30.56 kB / 441.3 MB, free: 12.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.2453, allocations: 4 kB / 441.3 MB, free: 12.37 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0002884/0.2456, allocations: 129.8 kB / 441.4 MB, free: 12.24 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.2456, allocations: 55.41 kB / 441.5 MB, free: 12.17 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.2457, allocations: 125.7 kB / 441.6 MB, free: 12.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.2458, allocations: 29.7 kB / 441.6 MB, free: 12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.464e-05/0.2458, allocations: 103.9 kB / 441.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.802e-05/0.2459, allocations: 43.64 kB / 441.8 MB, free: 11.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.211e-05/0.2459, allocations: 41.66 kB / 441.8 MB, free: 11.81 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.2461, allocations: 314.8 kB / 442.1 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.223e-05/0.2461, allocations: 23.98 kB / 442.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.809e-05/0.2462, allocations: 79.84 kB / 442.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.2463, allocations: 108.5 kB / 442.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.2464, allocations: 0 / 442.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002208/0.2466, allocations: 133.5 kB / 442.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.2466, allocations: 8 kB / 442.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.2466, allocations: 0 / 442.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.2466, allocations: 7.938 kB / 442.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.2467, allocations: 31.92 kB / 442.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.2467, allocations: 4 kB / 442.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.94e-05/0.2468, allocations: 12.05 kB / 442.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.061e-05/0.2468, allocations: 15.98 kB / 442.5 MB, free: 11.04 MB / 350.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.408e-05/0.2469, allocations: 117.8 kB / 442.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.83e-05/0.247, allocations: 15.94 kB / 442.7 MB, free: 10.9 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002732/0.2472, allocations: 142.3 kB / 442.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.2472, allocations: 0 / 442.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.2472, allocations: 7.938 kB / 442.8 MB, free: 10.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.2473, allocations: 4 kB / 442.8 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004641/0.2477, allocations: 365.4 kB / 443.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.2477, allocations: 0 / 443.2 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.633e-05/0.2478, allocations: 23.98 kB / 443.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.2478, allocations: 0 / 443.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.2478, allocations: 4 kB / 443.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.556e-06/0.2478, allocations: 11.94 kB / 443.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2478, allocations: 0 / 443.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002214/0.248, allocations: 206.9 kB / 443.4 MB, free: 10.08 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.478e-05/0.2481, allocations: 19.94 kB / 443.4 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.839e-05/0.2481, allocations: 4 kB / 443.4 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.278e-05/0.2482, allocations: 3.984 kB / 443.4 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.02e-05/0.2482, allocations: 11.98 kB / 443.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.626e-05/0.2482, allocations: 8 kB / 443.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.636e-05/0.2483, allocations: 95.2 kB / 443.6 MB, free: 9.941 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2483, allocations: 0 / 443.6 MB, free: 9.941 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003229/0.2486, allocations: 63.81 kB / 443.6 MB, free: 9.879 MB / 350.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.0006678/0.2493, allocations: 0.7981 MB / 444.4 MB, free: 9.055 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001795/0.2495, allocations: 75.91 kB / 444.5 MB, free: 8.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.2495, allocations: 4 kB / 444.5 MB, free: 8.977 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.559e-05/0.2495, allocations: 35.92 kB / 444.5 MB, free: 8.941 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004022/0.2499, allocations: 48.14 kB / 444.6 MB, free: 8.895 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001625/0.2516, allocations: 1.572 MB / 446.1 MB, free: 7.219 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003335/0.2519, allocations: 0.7005 MB / 446.8 MB, free: 6.492 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001169/0.252, allocations: 37.11 kB / 446.9 MB, free: 6.457 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.49e-05/0.2521, allocations: 27.42 kB / 446.9 MB, free: 6.43 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2521, allocations: 0 / 446.9 MB, free: 6.43 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02798/0.2801, allocations: 4.046 MB / 451 MB, free: 2.5 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.44/10.72, allocations: 11.67 kB / 451 MB, free: 2.492 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Incompressible_Examples_TestGlycol_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201919 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Incompressible_Examples_TestGlycol.fmu > Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.033092597965151]