Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0007391/0.0007391, allocations: 87.62 kB / 21.44 MB, free: 3.129 MB / 18.57 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.002792/0.002792, allocations: 160.7 kB / 24.7 MB, free: 9.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8344/0.8344, allocations: 177.2 MB / 205 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.0_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_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.382e-06/1.382e-06, allocations: 0 / 325.8 MB, free: 15.33 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.936e-05/2.074e-05, allocations: 6.281 kB / 325.8 MB, free: 15.32 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.005706/0.005727, allocations: 4.646 MB / 330.5 MB, free: 10.64 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006541/0.006381, allocations: 0.5723 MB / 331 MB, free: 10.07 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.919e-05/0.00643, allocations: 0 / 331 MB, free: 10.07 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002345/0.006665, allocations: 31.77 kB / 331.1 MB, free: 10.04 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001233/0.007898, allocations: 0.6185 MB / 331.7 MB, free: 9.414 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001878/0.008086, allocations: 91.61 kB / 331.8 MB, free: 9.328 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000225/0.008311, allocations: 191.1 kB / 332 MB, free: 9.141 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.765e-05/0.008348, allocations: 15.92 kB / 332 MB, free: 9.125 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008858/0.009234, allocations: 0.6431 MB / 332.6 MB, free: 8.48 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.296e-05/0.009307, allocations: 43.89 kB / 332.7 MB, free: 8.438 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.752e-05/0.009325, allocations: 4 kB / 332.7 MB, free: 8.434 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001069/0.01039, allocations: 0.9084 MB / 333.6 MB, free: 7.523 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.126e-05/0.01045, allocations: 23.91 kB / 333.6 MB, free: 7.5 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.824e-05/0.01049, allocations: 39.86 kB / 333.6 MB, free: 7.461 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003873/0.01088, allocations: 263.3 kB / 333.9 MB, free: 7.203 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.01088, allocations: 0 / 333.9 MB, free: 7.203 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.01088, allocations: 0 / 333.9 MB, free: 7.203 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.008e-06/0.01089, allocations: 4 kB / 333.9 MB, free: 7.199 MB / 298.7 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.0004326/0.01132, allocations: 348.9 kB / 334.2 MB, free: 6.832 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.01136, allocations: 16.02 kB / 334.2 MB, free: 6.816 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003016/0.01166, allocations: 28.88 kB / 334.3 MB, free: 6.789 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001901/0.01185, allocations: 141.6 kB / 334.4 MB, free: 6.625 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.01186, allocations: 12.31 kB / 334.4 MB, free: 6.613 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.01187, allocations: 4.375 kB / 334.4 MB, free: 6.609 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002393/0.01211, allocations: 214.5 kB / 334.6 MB, free: 6.363 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.01212, allocations: 0 / 334.6 MB, free: 6.363 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.01214, allocations: 11.97 kB / 334.6 MB, free: 6.352 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.01215, allocations: 8 kB / 334.7 MB, free: 6.344 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000152/0.0123, allocations: 103.9 kB / 334.8 MB, free: 6.242 MB / 298.7 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.0005548/0.01285, allocations: 0.5514 MB / 335.3 MB, free: 5.648 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001246/0.01298, allocations: 82.48 kB / 335.4 MB, free: 5.559 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.097e-05/0.01303, allocations: 32.84 kB / 335.4 MB, free: 5.523 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001902/0.01322, allocations: 55.95 kB / 335.5 MB, free: 5.469 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.01324, allocations: 38.56 kB / 335.5 MB, free: 5.422 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.112e-06/0.01324, allocations: 0 / 335.5 MB, free: 5.422 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002588/0.0135, allocations: 133.8 kB / 335.6 MB, free: 5.285 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.197e-05/0.01354, allocations: 55.41 kB / 335.7 MB, free: 5.219 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.505e-05/0.01362, allocations: 121.7 kB / 335.8 MB, free: 5.09 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.01363, allocations: 25.7 kB / 335.8 MB, free: 5.059 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.999e-05/0.01368, allocations: 96.05 kB / 335.9 MB, free: 4.961 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.156e-05/0.01372, allocations: 51.56 kB / 336 MB, free: 4.91 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.692e-05/0.01376, allocations: 37.66 kB / 336 MB, free: 4.867 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.753e-05/0.01385, allocations: 326.8 kB / 336.3 MB, free: 4.539 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.55e-05/0.0139, allocations: 27.98 kB / 336.4 MB, free: 4.512 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.531e-05/0.01396, allocations: 65.08 kB / 336.4 MB, free: 4.43 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001241/0.01409, allocations: 112.8 kB / 336.5 MB, free: 4.305 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.01409, allocations: 0 / 336.5 MB, free: 4.305 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001808/0.01427, allocations: 137.5 kB / 336.7 MB, free: 4.164 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.01428, allocations: 8 kB / 336.7 MB, free: 4.156 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.01429, allocations: 0 / 336.7 MB, free: 4.156 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.0143, allocations: 8.156 kB / 336.7 MB, free: 4.148 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.0144, allocations: 36.3 kB / 336.7 MB, free: 4.113 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.01441, allocations: 7.938 kB / 336.7 MB, free: 4.105 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.925e-05/0.01446, allocations: 11.89 kB / 336.7 MB, free: 4.094 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.787e-05/0.01448, allocations: 7.938 kB / 336.8 MB, free: 4.086 MB / 298.7 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.651e-05/0.01455, allocations: 121.8 kB / 336.9 MB, free: 3.957 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.303e-05/0.01459, allocations: 19.94 kB / 336.9 MB, free: 3.938 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002257/0.01481, allocations: 130 kB / 337 MB, free: 3.809 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.01482, allocations: 11.98 kB / 337 MB, free: 3.797 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.01482, allocations: 0 / 337 MB, free: 3.797 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.01482, allocations: 3.984 kB / 337 MB, free: 3.793 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003399/0.01516, allocations: 330.1 kB / 337.4 MB, free: 3.434 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.01517, allocations: 3.938 kB / 337.4 MB, free: 3.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.672e-05/0.01522, allocations: 16 kB / 337.4 MB, free: 3.414 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.01523, allocations: 4 kB / 337.4 MB, free: 3.41 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.719e-06/0.01524, allocations: 7.984 kB / 337.4 MB, free: 3.402 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.01524, allocations: 0 / 337.4 MB, free: 3.402 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.01524, allocations: 3.938 kB / 337.4 MB, free: 3.398 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001621/0.0154, allocations: 199.2 kB / 337.6 MB, free: 3.191 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.324e-05/0.01544, allocations: 19.94 kB / 337.6 MB, free: 3.172 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.01545, allocations: 4 kB / 337.6 MB, free: 3.168 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.743e-05/0.01553, allocations: 7.938 kB / 337.6 MB, free: 3.16 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.054e-05/0.01555, allocations: 11.92 kB / 337.6 MB, free: 3.148 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.01556, allocations: 7.984 kB / 337.6 MB, free: 3.141 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.88e-05/0.0156, allocations: 87.28 kB / 337.7 MB, free: 3.055 MB / 298.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0156, allocations: 0 / 337.7 MB, free: 3.055 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003174/0.01592, allocations: 67.86 kB / 337.8 MB, free: 2.988 MB / 298.7 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.0002267/0.01614, allocations: 170.9 kB / 338 MB, free: 2.809 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001512/0.01629, allocations: 83.89 kB / 338 MB, free: 2.727 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.0163, allocations: 0 / 338 MB, free: 2.727 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.366e-05/0.01634, allocations: 35.92 kB / 338.1 MB, free: 2.691 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003574/0.0167, allocations: 48.48 kB / 338.1 MB, free: 2.645 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003586/0.01706, allocations: 238.7 kB / 338.4 MB, free: 2.379 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.286e-05/0.01712, allocations: 87.58 kB / 338.4 MB, free: 2.273 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.121e-05/0.01717, allocations: 24.47 kB / 338.5 MB, free: 2.25 MB / 298.7 MB Notification: Performance of SimCode: time 4.3e-07/0.01717, allocations: 4 kB / 338.5 MB, free: 2.246 MB / 298.7 MB Notification: Performance of Templates: time 0.002891/0.02006, allocations: 2.276 MB / 340.7 MB, free: 15.97 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.sim & ./Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 4.177739561535418]