Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.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.001368/0.001368, allocations: 82.27 kB / 21.43 MB, free: 296 kB / 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.001625/0.001625, allocations: 160.5 kB / 24.7 MB, free: 3.551 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.429/1.429, allocations: 158.6 MB / 186.5 MB, free: 6.422 MB / 174.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: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 299 MB, free: 8.688 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.867e-05/5.068e-05, allocations: 2.281 kB / 299 MB, free: 8.684 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47): time 0.04205/0.0421, allocations: 22.33 MB / 321.3 MB, free: 2.258 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1724/0.2145, allocations: 2.319 MB / 323.6 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004405/0.215, allocations: 8.375 kB / 323.7 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006559/0.2156, allocations: 157.1 kB / 323.8 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000797/0.2164, allocations: 338.6 kB / 324.1 MB, free: 13.8 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002723/0.2192, allocations: 1.016 MB / 325.2 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001333/0.2205, allocations: 0.9035 MB / 326.1 MB, free: 13.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002391/0.2207, allocations: 73.88 kB / 326.1 MB, free: 13.59 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005387/0.2261, allocations: 2.918 MB / 329 MB, free: 13.47 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005171/0.2266, allocations: 248 kB / 329.3 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.151e-05/0.2267, allocations: 30.44 kB / 329.3 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006726/0.2274, allocations: 248.3 kB / 329.6 MB, free: 13.44 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001292/0.2275, allocations: 102.5 kB / 329.7 MB, free: 13.42 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002151/0.2277, allocations: 148.5 kB / 329.8 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009226/0.2286, allocations: 0.6045 MB / 330.4 MB, free: 13.39 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.648e-06/0.2287, allocations: 2.062 kB / 330.4 MB, free: 13.39 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.2287, allocations: 0 / 330.4 MB, free: 13.39 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.418e-06/0.2287, allocations: 2.438 kB / 330.4 MB, free: 13.39 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0009313/0.2296, allocations: 0.5574 MB / 331 MB, free: 13.03 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.2296, allocations: 17.02 kB / 331 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003972/0.23, allocations: 54.91 kB / 331 MB, free: 13 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004556/0.2305, allocations: 239.8 kB / 331.3 MB, free: 12.84 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.2305, allocations: 19.53 kB / 331.3 MB, free: 12.84 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.662e-05/0.2306, allocations: 23.78 kB / 331.3 MB, free: 12.84 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005604/0.2311, allocations: 0.5527 MB / 331.9 MB, free: 12.45 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.981e-05/0.2311, allocations: 3.188 kB / 331.9 MB, free: 12.45 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.888e-05/0.2312, allocations: 18.12 kB / 331.9 MB, free: 12.45 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.2312, allocations: 14.38 kB / 331.9 MB, free: 12.44 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000331/0.2315, allocations: 189.6 kB / 332.1 MB, free: 12.44 MB / 302.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.001553/0.2331, allocations: 1.393 MB / 333.5 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002981/0.2334, allocations: 170.6 kB / 333.7 MB, free: 11.44 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000123/0.2335, allocations: 72.62 kB / 333.7 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.867e-05/0.2336, allocations: 23.53 kB / 333.7 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.992e-05/0.2336, allocations: 36.31 kB / 333.8 MB, free: 11.39 MB / 302.1 MB Notification: Performance of pre-optimization done (n=24): time 1.523e-06/0.2336, allocations: 0 / 333.8 MB, free: 11.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=30): time 0.002523/0.2361, allocations: 0.8756 MB / 334.7 MB, free: 11.14 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.2362, allocations: 54.88 kB / 334.7 MB, free: 11.08 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002405/0.2364, allocations: 243 kB / 334.9 MB, free: 10.97 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.96e-05/0.2364, allocations: 31.33 kB / 335 MB, free: 10.94 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.216e-05/0.2365, allocations: 190 kB / 335.2 MB, free: 10.8 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.248e-05/0.2366, allocations: 111.1 kB / 335.3 MB, free: 10.73 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.2367, allocations: 67.41 kB / 335.3 MB, free: 10.71 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.993e-05/0.2368, allocations: 336.3 kB / 335.7 MB, free: 10.4 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001567/0.2369, allocations: 84.61 kB / 335.8 MB, free: 10.4 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002016/0.2371, allocations: 175.2 kB / 335.9 MB, free: 10.31 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003746/0.2375, allocations: 272.1 kB / 336.2 MB, free: 10.23 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.2375, allocations: 5.281 kB / 336.2 MB, free: 10.22 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006173/0.2381, allocations: 379.8 kB / 336.6 MB, free: 10.16 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.2381, allocations: 9.469 kB / 336.6 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.2381, allocations: 5.688 kB / 336.6 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004445/0.2386, allocations: 98.14 kB / 336.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002567/0.2389, allocations: 71.05 kB / 336.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004549/0.2393, allocations: 0.6541 MB / 337.4 MB, free: 9.617 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001738/0.2395, allocations: 12.44 kB / 337.4 MB, free: 9.617 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.732e-05/0.2395, allocations: 14.69 kB / 337.4 MB, free: 9.617 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (36): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001623/0.2397, allocations: 155.2 kB / 337.6 MB, free: 9.5 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.272e-05/0.2398, allocations: 26.52 kB / 337.6 MB, free: 9.488 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000662/0.2404, allocations: 370.4 kB / 338 MB, free: 9.395 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.2404, allocations: 6.5 kB / 338 MB, free: 9.391 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.2404, allocations: 4.062 kB / 338 MB, free: 9.387 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004717/0.2409, allocations: 0.5536 MB / 338.5 MB, free: 8.938 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009424/0.2418, allocations: 0.6214 MB / 339.1 MB, free: 8.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.2418, allocations: 1.656 kB / 339.2 MB, free: 8.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001503/0.242, allocations: 36.8 kB / 339.2 MB, free: 8.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005112/0.2425, allocations: 108.2 kB / 339.3 MB, free: 8.66 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.287e-05/0.2425, allocations: 8.453 kB / 339.3 MB, free: 8.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004453/0.243, allocations: 0.6343 MB / 339.9 MB, free: 8.141 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.243, allocations: 1.156 kB / 339.9 MB, free: 8.141 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007371/0.2437, allocations: 481.5 kB / 340.4 MB, free: 7.961 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.659e-05/0.2438, allocations: 27.16 kB / 340.4 MB, free: 7.945 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.128e-05/0.2438, allocations: 6.062 kB / 340.4 MB, free: 7.945 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003049/0.2441, allocations: 18.66 kB / 340.5 MB, free: 7.938 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.83e-05/0.2442, allocations: 15.33 kB / 340.5 MB, free: 7.938 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.571e-05/0.2442, allocations: 18.95 kB / 340.5 MB, free: 7.938 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001889/0.2444, allocations: 177 kB / 340.7 MB, free: 7.859 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2444, allocations: 0 / 340.7 MB, free: 7.859 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005241/0.2449, allocations: 114.8 kB / 340.8 MB, free: 7.852 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (volume.medium.T) * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002876/0.2452, allocations: 146.3 kB / 340.9 MB, free: 7.754 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005391/0.2457, allocations: 233.6 kB / 341.1 MB, free: 7.742 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.2457, allocations: 1.688 kB / 341.1 MB, free: 7.742 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002721/0.246, allocations: 118.2 kB / 341.3 MB, free: 7.734 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000891/0.2469, allocations: 153.5 kB / 341.4 MB, free: 7.707 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.248, allocations: 0.5831 MB / 342 MB, free: 7.41 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001468/0.2482, allocations: 157.7 kB / 342.1 MB, free: 7.332 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002489/0.2484, allocations: 68.25 kB / 342.2 MB, free: 7.312 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.408e-05/0.2485, allocations: 26.38 kB / 342.2 MB, free: 7.305 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2485, allocations: 0 / 342.2 MB, free: 7.305 MB / 302.1 MB Notification: Performance of Templates: time 0.01104/0.2595, allocations: 6.401 MB / 348.6 MB, free: 4.625 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Incompressible/Glycol47/Glycol47.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.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: 4.697611968964338]