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.001457/0.001457, allocations: 96.3 kB / 21.73 MB, free: 2.699 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.001499/0.001499, allocations: 165.3 kB / 25.02 MB, free: 8.941 MB / 18.57 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.426/1.426, allocations: 158.6 MB / 186.8 MB, free: 2.906 MB / 170.7 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: Performance of FrontEnd - loaded program: time 2.455e-06/2.455e-06, allocations: 0 / 250.3 MB, free: 7.875 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.655e-05/3.9e-05, allocations: 6.109 kB / 250.3 MB, free: 7.871 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.02043/0.02047, allocations: 7.167 MB / 257.5 MB, free: 0.6562 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001888/0.02235, allocations: 0.5723 MB / 258.1 MB, free: 84 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.46e-05/0.02242, allocations: 0 / 258.1 MB, free: 84 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003975/0.02282, allocations: 31.83 kB / 258.1 MB, free: 52 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003205/0.02602, allocations: 0.6185 MB / 258.7 MB, free: 15.43 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000557/0.02658, allocations: 99.72 kB / 258.8 MB, free: 15.33 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005249/0.0271, allocations: 183.2 kB / 259 MB, free: 15.15 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.785e-05/0.02717, allocations: 4 kB / 259 MB, free: 15.15 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002226/0.0294, allocations: 0.647 MB / 259.7 MB, free: 14.5 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001621/0.02956, allocations: 43.89 kB / 259.7 MB, free: 14.46 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.222e-05/0.02959, allocations: 4 kB / 259.7 MB, free: 14.45 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002909/0.0325, allocations: 0.8734 MB / 260.6 MB, free: 13.58 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.38e-05/0.03258, allocations: 23.92 kB / 260.6 MB, free: 13.55 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001184/0.0327, allocations: 39.84 kB / 260.6 MB, free: 13.52 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008949/0.0336, allocations: 259.2 kB / 260.9 MB, free: 13.26 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.0336, allocations: 0 / 260.9 MB, free: 13.26 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.0336, allocations: 0 / 260.9 MB, free: 13.26 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.712e-06/0.03361, allocations: 4 kB / 260.9 MB, free: 13.26 MB / 250.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.0008708/0.03448, allocations: 353.6 kB / 261.2 MB, free: 12.88 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.241e-05/0.03454, allocations: 11.98 kB / 261.3 MB, free: 12.87 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000781/0.03532, allocations: 52.67 kB / 261.3 MB, free: 12.82 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004282/0.03575, allocations: 137.7 kB / 261.4 MB, free: 12.66 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.659e-05/0.03578, allocations: 12.31 kB / 261.4 MB, free: 12.65 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.305e-05/0.03582, allocations: 12.31 kB / 261.5 MB, free: 12.64 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005466/0.03637, allocations: 214.7 kB / 261.7 MB, free: 12.39 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.03639, allocations: 4.172 kB / 261.7 MB, free: 12.39 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.589e-05/0.03642, allocations: 12.12 kB / 261.7 MB, free: 12.38 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.014e-06/0.03643, allocations: 4 kB / 261.7 MB, free: 12.37 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003497/0.03678, allocations: 111.8 kB / 261.8 MB, free: 12.26 MB / 250.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.001299/0.03808, allocations: 0.5554 MB / 262.4 MB, free: 11.66 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002785/0.03836, allocations: 78.55 kB / 262.4 MB, free: 11.58 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001269/0.03848, allocations: 32.84 kB / 262.5 MB, free: 11.54 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005282/0.03901, allocations: 59.94 kB / 262.5 MB, free: 11.48 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.237e-05/0.03907, allocations: 34.56 kB / 262.6 MB, free: 11.44 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 2.184e-06/0.03908, allocations: 0 / 262.6 MB, free: 11.44 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005856/0.03966, allocations: 137.8 kB / 262.7 MB, free: 11.3 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.579e-05/0.03973, allocations: 51.41 kB / 262.7 MB, free: 11.24 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001975/0.03992, allocations: 125.7 kB / 262.9 MB, free: 11.11 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.406e-05/0.03997, allocations: 29.7 kB / 262.9 MB, free: 11.07 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/0.04009, allocations: 99.94 kB / 263 MB, free: 10.97 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.459e-05/0.04017, allocations: 47.64 kB / 263 MB, free: 10.92 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.04027, allocations: 33.7 kB / 263.1 MB, free: 10.88 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002745/0.04055, allocations: 322.8 kB / 263.4 MB, free: 10.56 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.854e-05/0.04065, allocations: 23.98 kB / 263.4 MB, free: 10.54 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001819/0.04083, allocations: 73.06 kB / 263.5 MB, free: 10.45 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003067/0.04114, allocations: 108.8 kB / 263.6 MB, free: 10.32 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.644e-06/0.04114, allocations: 4 kB / 263.6 MB, free: 10.32 MB / 250.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004679/0.04161, allocations: 145.5 kB / 263.7 MB, free: 10.17 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.744e-05/0.04164, allocations: 11.11 kB / 263.7 MB, free: 10.16 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.04165, allocations: 4 kB / 263.7 MB, free: 10.16 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.943e-05/0.04168, allocations: 4.156 kB / 263.8 MB, free: 10.16 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002638/0.04195, allocations: 35.92 kB / 263.8 MB, free: 10.12 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.04196, allocations: 0 / 263.8 MB, free: 10.12 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001276/0.04208, allocations: 15.89 kB / 263.8 MB, free: 10.11 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.175e-05/0.04213, allocations: 8 kB / 263.8 MB, free: 10.1 MB / 250.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 0.0001797/0.04231, allocations: 121.8 kB / 263.9 MB, free: 9.969 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.045e-05/0.04239, allocations: 19.83 kB / 263.9 MB, free: 9.949 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005543/0.04294, allocations: 142.3 kB / 264.1 MB, free: 9.805 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/0.04295, allocations: 8 kB / 264.1 MB, free: 9.797 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.04296, allocations: 0 / 264.1 MB, free: 9.797 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.04296, allocations: 0 / 264.1 MB, free: 9.797 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008401/0.0438, allocations: 334 kB / 264.4 MB, free: 9.434 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.0438, allocations: 0 / 264.4 MB, free: 9.434 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001539/0.04396, allocations: 23.98 kB / 264.4 MB, free: 9.41 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.04396, allocations: 0 / 264.4 MB, free: 9.41 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.947e-05/0.04398, allocations: 4 kB / 264.4 MB, free: 9.406 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.04399, allocations: 0 / 264.4 MB, free: 9.406 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.017e-06/0.04399, allocations: 7.984 kB / 264.5 MB, free: 9.398 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004515/0.04445, allocations: 207.4 kB / 264.7 MB, free: 9.18 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.249e-05/0.04454, allocations: 23.88 kB / 264.7 MB, free: 9.156 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.72e-05/0.04457, allocations: 4 kB / 264.7 MB, free: 9.152 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001742/0.04474, allocations: 0 / 264.7 MB, free: 9.152 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.66e-05/0.04479, allocations: 11.98 kB / 264.7 MB, free: 9.141 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.603e-05/0.04482, allocations: 11.92 kB / 264.7 MB, free: 9.129 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001209/0.04494, allocations: 87.28 kB / 264.8 MB, free: 9.043 MB / 250.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.04494, allocations: 0 / 264.8 MB, free: 9.043 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0007107/0.04565, allocations: 71.81 kB / 264.9 MB, free: 8.973 MB / 250.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.0004977/0.04615, allocations: 147.1 kB / 265 MB, free: 8.82 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003662/0.04652, allocations: 86.09 kB / 265.1 MB, free: 8.738 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.04652, allocations: 0 / 265.1 MB, free: 8.738 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001101/0.04663, allocations: 36.3 kB / 265.1 MB, free: 8.703 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008204/0.04745, allocations: 64.03 kB / 265.2 MB, free: 8.641 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007363/0.04819, allocations: 211.9 kB / 265.4 MB, free: 8.41 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001663/0.04835, allocations: 87.72 kB / 265.5 MB, free: 8.305 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0002357/0.04859, allocations: 32.88 kB / 265.5 MB, free: 8.27 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.49e-05/0.04869, allocations: 20.5 kB / 265.5 MB, free: 8.25 MB / 250.7 MB Notification: Performance of SimCode: time 5.61e-07/0.04869, allocations: 0 / 265.5 MB, free: 8.25 MB / 250.7 MB Notification: Performance of Templates: time 0.01194/0.06062, allocations: 2.553 MB / 268.1 MB, free: 5.719 MB / 250.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","/var/lib/jenkins/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: 4.335584569955245]