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.001382/0.001382, allocations: 84.55 kB / 20.68 MB, free: 1.023 MB / 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.001421/0.001421, allocations: 163.9 kB / 23.95 MB, free: 4.156 MB / 14.72 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 1.422/1.422, allocations: 177.1 MB / 204.3 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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.412e-06/1.412e-06, allocations: 0 / 325 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.661e-05/1.802e-05, allocations: 10.22 kB / 325 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.006721/0.006739, allocations: 4.651 MB / 329.7 MB, free: 13.44 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009105/0.00765, allocations: 0.572 MB / 330.3 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.81e-05/0.007698, allocations: 1.094 kB / 330.3 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002086/0.007906, allocations: 25.06 kB / 330.3 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00151/0.009416, allocations: 0.6281 MB / 330.9 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002325/0.009649, allocations: 86.05 kB / 331 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002676/0.009916, allocations: 192.7 kB / 331.2 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.612e-05/0.009952, allocations: 15.2 kB / 331.2 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001191/0.01114, allocations: 0.6424 MB / 331.8 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.776e-05/0.01123, allocations: 42.27 kB / 331.9 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.358e-05/0.01126, allocations: 5.719 kB / 331.9 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00151/0.01277, allocations: 0.9091 MB / 332.8 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.443e-05/0.01282, allocations: 24.06 kB / 332.8 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.142e-05/0.01288, allocations: 38.5 kB / 332.9 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000455/0.01334, allocations: 260.7 kB / 333.1 MB, free: 11.66 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.01334, allocations: 0 / 333.1 MB, free: 11.66 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.51e-07/0.01334, allocations: 1.031 kB / 333.1 MB, free: 11.66 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.226e-06/0.01335, allocations: 4 kB / 333.1 MB, free: 11.66 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005254/0.01387, allocations: 351.6 kB / 333.5 MB, free: 11.33 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.01391, allocations: 9.656 kB / 333.5 MB, free: 11.33 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004311/0.01434, allocations: 32.36 kB / 333.5 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000222/0.01456, allocations: 130.6 kB / 333.6 MB, free: 11.17 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.01457, allocations: 8.062 kB / 333.6 MB, free: 11.17 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.413e-05/0.01459, allocations: 13.5 kB / 333.7 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003109/0.0149, allocations: 217.2 kB / 333.9 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.01491, allocations: 0 / 333.9 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.15e-05/0.01493, allocations: 10.66 kB / 333.9 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.01494, allocations: 2.094 kB / 333.9 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001926/0.01513, allocations: 112.1 kB / 334 MB, free: 10.89 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.0007492/0.01588, allocations: 0.5491 MB / 334.5 MB, free: 10.35 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001513/0.01603, allocations: 73.7 kB / 334.6 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.323e-05/0.01611, allocations: 36.72 kB / 334.6 MB, free: 10.28 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002632/0.01637, allocations: 59.97 kB / 334.7 MB, free: 10.26 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.0164, allocations: 32.12 kB / 334.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 1.353e-06/0.0164, allocations: 1.156 kB / 334.7 MB, free: 10.22 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0003018/0.0167, allocations: 133 kB / 334.9 MB, free: 10.14 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.044e-05/0.01675, allocations: 56.94 kB / 334.9 MB, free: 10.07 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.01686, allocations: 123.6 kB / 335 MB, free: 9.957 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.01689, allocations: 29.7 kB / 335.1 MB, free: 9.922 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.269e-05/0.01696, allocations: 94.88 kB / 335.2 MB, free: 9.828 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.453e-05/0.01701, allocations: 49.73 kB / 335.2 MB, free: 9.785 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.263e-05/0.01707, allocations: 41.97 kB / 335.3 MB, free: 9.75 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.01723, allocations: 321.2 kB / 335.6 MB, free: 9.43 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.276e-05/0.01728, allocations: 26.3 kB / 335.6 MB, free: 9.418 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.198e-05/0.01737, allocations: 66.67 kB / 335.7 MB, free: 9.355 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001583/0.01753, allocations: 116.6 kB / 335.8 MB, free: 9.266 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.01753, allocations: 0 / 335.8 MB, free: 9.266 MB / 302.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002395/0.01777, allocations: 142.7 kB / 335.9 MB, free: 9.18 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.01778, allocations: 9.5 kB / 335.9 MB, free: 9.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.01779, allocations: 1.594 kB / 335.9 MB, free: 9.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.0178, allocations: 9.406 kB / 335.9 MB, free: 9.172 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001241/0.01793, allocations: 30.08 kB / 336 MB, free: 9.168 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.01794, allocations: 5.438 kB / 336 MB, free: 9.164 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.282e-05/0.018, allocations: 12.27 kB / 336 MB, free: 9.156 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.315e-05/0.01802, allocations: 14.88 kB / 336 MB, free: 9.148 MB / 302.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.882e-05/0.01812, allocations: 114.5 kB / 336.1 MB, free: 9.031 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.055e-05/0.01816, allocations: 8.766 kB / 336.1 MB, free: 9.027 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003043/0.01847, allocations: 144.9 kB / 336.3 MB, free: 8.934 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.01847, allocations: 1.281 kB / 336.3 MB, free: 8.934 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.01847, allocations: 3.938 kB / 336.3 MB, free: 8.93 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.01847, allocations: 1.375 kB / 336.3 MB, free: 8.93 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004482/0.01892, allocations: 332.6 kB / 336.6 MB, free: 8.629 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.01892, allocations: 1.031 kB / 336.6 MB, free: 8.629 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.612e-05/0.01901, allocations: 25.36 kB / 336.6 MB, free: 8.621 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-06/0.01901, allocations: 1 kB / 336.6 MB, free: 8.621 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.01903, allocations: 5.125 kB / 336.6 MB, free: 8.617 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.01903, allocations: 1.125 kB / 336.6 MB, free: 8.617 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.01903, allocations: 5 kB / 336.6 MB, free: 8.613 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002252/0.01926, allocations: 202.5 kB / 336.8 MB, free: 8.445 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.425e-05/0.0193, allocations: 16.81 kB / 336.8 MB, free: 8.434 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.124e-05/0.01932, allocations: 5.438 kB / 336.8 MB, free: 8.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.01943, allocations: 5.281 kB / 336.9 MB, free: 8.426 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.852e-05/0.01946, allocations: 11.92 kB / 336.9 MB, free: 8.418 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.908e-05/0.01948, allocations: 16.83 kB / 336.9 MB, free: 8.406 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.132e-05/0.01955, allocations: 88.34 kB / 337 MB, free: 8.328 MB / 302.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01955, allocations: 0 / 337 MB, free: 8.328 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003455/0.01989, allocations: 61.17 kB / 337 MB, free: 8.312 MB / 302.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.0003005/0.02019, allocations: 172.2 kB / 337.2 MB, free: 8.184 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001769/0.02037, allocations: 82.72 kB / 337.3 MB, free: 8.152 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.02037, allocations: 0 / 337.3 MB, free: 8.152 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.888e-05/0.02043, allocations: 38.2 kB / 337.3 MB, free: 8.137 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000429/0.02086, allocations: 50.91 kB / 337.4 MB, free: 8.105 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004235/0.02128, allocations: 211.9 kB / 337.6 MB, free: 7.934 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.961e-05/0.02136, allocations: 81.33 kB / 337.6 MB, free: 7.852 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001193/0.02148, allocations: 31.02 kB / 337.7 MB, free: 7.836 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.54e-05/0.02153, allocations: 17.22 kB / 337.7 MB, free: 7.828 MB / 302.1 MB Notification: Performance of SimCode: time 3.21e-07/0.02153, allocations: 0 / 337.7 MB, free: 7.828 MB / 302.1 MB Notification: Performance of Templates: time 0.006421/0.02795, allocations: 2.535 MB / 340.2 MB, free: 5.684 MB / 302.1 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.259399905800819]