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.001671/0.001671, allocations: 120.5 kB / 21.94 MB, free: 8 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.001712/0.001712, allocations: 204.8 kB / 25.24 MB, free: 3.547 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.469/1.469, allocations: 207.6 MB / 236 MB, free: 9.969 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: translateModel(Modelica.Media.Incompressible.Examples.TestGlycol,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|eta|lambda|s|cv|u|h|d",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol") translateModel(Modelica.Media.Incompressible.Examples.TestGlycol,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|eta|lambda|s|cv|u|h|d",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol") [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.002281/0.002281, allocations: 51.92 kB / 348.4 MB, free: 9.625 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.3179, allocations: 49.16 MB / 397.6 MB, free: 9.473 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.01009/0.328, allocations: 7.853 MB / 405.4 MB, free: 3.918 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008637/0.3289, allocations: 0.63 MB / 406.1 MB, free: 3.48 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.049e-05/0.3289, allocations: 0 / 406.1 MB, free: 3.48 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002795/0.3292, allocations: 26.02 kB / 406.1 MB, free: 3.469 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00171/0.3309, allocations: 0.6078 MB / 406.7 MB, free: 3.238 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002437/0.3312, allocations: 96.42 kB / 406.8 MB, free: 3.188 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002873/0.3315, allocations: 184.5 kB / 407 MB, free: 3.105 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.175e-05/0.3315, allocations: 8.625 kB / 407 MB, free: 3.102 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001317/0.3328, allocations: 0.6371 MB / 407.6 MB, free: 2.973 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.3329, allocations: 44.8 kB / 407.7 MB, free: 2.957 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.962e-05/0.3329, allocations: 5.062 kB / 407.7 MB, free: 2.957 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001556/0.3345, allocations: 0.8876 MB / 408.6 MB, free: 2.777 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.492e-05/0.3346, allocations: 22.45 kB / 408.6 MB, free: 2.766 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.313e-05/0.3346, allocations: 43.16 kB / 408.6 MB, free: 2.746 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004595/0.3351, allocations: 239.1 kB / 408.9 MB, free: 2.668 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3351, allocations: 1.375 kB / 408.9 MB, free: 2.668 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3351, allocations: 0 / 408.9 MB, free: 2.668 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.3351, allocations: 0 / 408.9 MB, free: 2.668 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.0005376/0.3356, allocations: 349.6 kB / 409.2 MB, free: 2.352 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/0.3357, allocations: 13.58 kB / 409.2 MB, free: 2.348 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004658/0.3361, allocations: 39.36 kB / 409.3 MB, free: 2.336 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002706/0.3364, allocations: 137 kB / 409.4 MB, free: 2.195 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.3364, allocations: 8.344 kB / 409.4 MB, free: 2.191 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.88e-05/0.3365, allocations: 9.719 kB / 409.4 MB, free: 2.188 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000279/0.3367, allocations: 138.1 kB / 409.5 MB, free: 2.094 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.3367, allocations: 0 / 409.5 MB, free: 2.094 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.3368, allocations: 5.344 kB / 409.5 MB, free: 2.09 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.3368, allocations: 2.562 kB / 409.5 MB, free: 2.09 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000196/0.337, allocations: 113.8 kB / 409.7 MB, free: 2.059 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.0006491/0.3376, allocations: 0.6376 MB / 410.3 MB, free: 1.449 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00015/0.3378, allocations: 84.84 kB / 410.4 MB, free: 1.398 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.179e-05/0.3378, allocations: 34.25 kB / 410.4 MB, free: 1.383 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002801/0.3381, allocations: 57.16 kB / 410.5 MB, free: 1.371 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.3381, allocations: 37.7 kB / 410.5 MB, free: 1.328 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.122e-06/0.3381, allocations: 0 / 410.5 MB, free: 1.328 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.0003125/0.3384, allocations: 136.8 kB / 410.6 MB, free: 1.254 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/0.3385, allocations: 57.94 kB / 410.7 MB, free: 1.188 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.519e-05/0.3386, allocations: 123.1 kB / 410.8 MB, free: 1.074 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.3386, allocations: 27.23 kB / 410.8 MB, free: 1.043 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.636e-05/0.3386, allocations: 101.1 kB / 410.9 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.955e-05/0.3387, allocations: 44.97 kB / 411 MB, free: 0.9102 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.093e-05/0.3387, allocations: 37.45 kB / 411 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.251e-05/0.3388, allocations: 318.9 kB / 411.3 MB, free: 0.5664 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.142e-05/0.3388, allocations: 23.39 kB / 411.4 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.213e-05/0.3389, allocations: 71.11 kB / 411.4 MB, free: 0.5 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001227/0.339, allocations: 107 kB / 411.5 MB, free: 428 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.339, allocations: 0 / 411.5 MB, free: 428 kB / 318.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002009/0.3392, allocations: 140.9 kB / 411.7 MB, free: 352 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.3392, allocations: 10.41 kB / 411.7 MB, free: 348 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.3392, allocations: 1.375 kB / 411.7 MB, free: 348 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.3393, allocations: 2.75 kB / 411.7 MB, free: 348 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000131/0.3394, allocations: 34.12 kB / 411.7 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.3394, allocations: 5.719 kB / 411.7 MB, free: 340 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.705e-05/0.3395, allocations: 19.89 kB / 411.7 MB, free: 324 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.394e-05/0.3395, allocations: 8.125 kB / 411.7 MB, free: 324 kB / 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 7.343e-05/0.3395, allocations: 123 kB / 411.9 MB, free: 196 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.556e-05/0.3396, allocations: 8.578 kB / 411.9 MB, free: 192 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002748/0.3399, allocations: 137.7 kB / 412 MB, free: 100 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.3399, allocations: 3 kB / 412 MB, free: 100 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.3399, allocations: 3.938 kB / 412 MB, free: 96 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.3399, allocations: 4 kB / 412 MB, free: 92 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005064/0.3404, allocations: 368.9 kB / 412.4 MB, free: 15.74 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.3404, allocations: 3.938 kB / 412.4 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.116e-05/0.3405, allocations: 25.86 kB / 412.4 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.3405, allocations: 5.219 kB / 412.4 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.3405, allocations: 1.25 kB / 412.4 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3405, allocations: 0 / 412.4 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.3405, allocations: 1.125 kB / 412.4 MB, free: 15.73 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002298/0.3407, allocations: 210.2 kB / 412.6 MB, free: 15.55 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.273e-05/0.3408, allocations: 32.89 kB / 412.7 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.783e-05/0.3408, allocations: 1.125 kB / 412.7 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.401e-05/0.3409, allocations: 5.219 kB / 412.7 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.837e-05/0.3409, allocations: 8.234 kB / 412.7 MB, free: 15.52 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/0.3409, allocations: 5.344 kB / 412.7 MB, free: 15.52 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.449e-05/0.341, allocations: 90.2 kB / 412.8 MB, free: 15.43 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.341, allocations: 0 / 412.8 MB, free: 15.43 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004221/0.3414, allocations: 64.19 kB / 412.8 MB, free: 15.41 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.0002807/0.3417, allocations: 161.4 kB / 413 MB, free: 15.29 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001931/0.3419, allocations: 78.78 kB / 413.1 MB, free: 15.26 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.3419, allocations: 3.938 kB / 413.1 MB, free: 15.26 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.763e-05/0.3419, allocations: 29.89 kB / 413.1 MB, free: 15.25 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004155/0.3423, allocations: 50.58 kB / 413.1 MB, free: 15.22 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005061/0.3429, allocations: 267.1 kB / 413.4 MB, free: 15 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003747/0.3432, allocations: 0.6963 MB / 414.1 MB, free: 14.29 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.211e-05/0.3433, allocations: 23.58 kB / 414.1 MB, free: 14.28 MB / 334.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3433, allocations: 0 / 414.1 MB, free: 14.28 MB / 334.1 MB Notification: Performance of Templates: time 0.004932/0.3482, allocations: 2.188 MB / 416.3 MB, free: 13.14 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.makefile [Timeout 660] (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 & ./Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) [Timeout 480] 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: 7.24103406094946]