Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0017/0.0017, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001997/0.001997, allocations: 165.3 kB / 24.5 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.428/1.428, allocations: 177.1 MB / 204.7 MB, free: 8.938 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Incompressible.Examples.TestGlycol") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 62.11 kB / 325.5 MB, free: 224 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08871/0.09071, allocations: 53.38 MB / 378.9 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Incompressible.Examples.TestGlycol): time 0.006952/0.09766, allocations: 4.638 MB / 383.5 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008805/0.09854, allocations: 0.5803 MB / 384.1 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.149e-05/0.09858, allocations: 0 / 384.1 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002079/0.09879, allocations: 31.77 kB / 384.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001436/0.1002, allocations: 0.6073 MB / 384.7 MB, free: 9.617 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002293/0.1005, allocations: 95.73 kB / 384.8 MB, free: 9.527 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002692/0.1007, allocations: 183.3 kB / 385 MB, free: 9.348 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.312e-05/0.1008, allocations: 4 kB / 385 MB, free: 9.344 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001153/0.1019, allocations: 0.6431 MB / 385.7 MB, free: 8.699 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.263e-05/0.102, allocations: 51.77 kB / 385.7 MB, free: 8.648 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.102, allocations: 4 kB / 385.7 MB, free: 8.645 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001496/0.1035, allocations: 0.897 MB / 386.6 MB, free: 7.746 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.126e-05/0.1036, allocations: 23.91 kB / 386.6 MB, free: 7.723 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.326e-05/0.1036, allocations: 39.86 kB / 386.7 MB, free: 7.684 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004167/0.104, allocations: 243.3 kB / 386.9 MB, free: 7.445 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.1041, allocations: 0 / 386.9 MB, free: 7.445 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1041, allocations: 0 / 386.9 MB, free: 7.445 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.1041, allocations: 0 / 386.9 MB, free: 7.445 MB / 350.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.0004951/0.1046, allocations: 357.6 kB / 387.3 MB, free: 7.066 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.226e-05/0.1046, allocations: 11.98 kB / 387.3 MB, free: 7.055 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003975/0.105, allocations: 32.86 kB / 387.3 MB, free: 7.023 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002207/0.1052, allocations: 138.4 kB / 387.4 MB, free: 6.863 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.1052, allocations: 4.375 kB / 387.4 MB, free: 6.859 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/0.1052, allocations: 11.94 kB / 387.5 MB, free: 6.848 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003014/0.1055, allocations: 222.1 kB / 387.7 MB, free: 6.594 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.1056, allocations: 0 / 387.7 MB, free: 6.594 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.745e-05/0.1056, allocations: 4 kB / 387.7 MB, free: 6.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.622e-06/0.1056, allocations: 4 kB / 387.7 MB, free: 6.586 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001804/0.1058, allocations: 111.8 kB / 387.8 MB, free: 6.477 MB / 350.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.0006791/0.1064, allocations: 0.5399 MB / 388.3 MB, free: 5.895 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.1066, allocations: 82.48 kB / 388.4 MB, free: 5.805 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.198e-05/0.1067, allocations: 36.78 kB / 388.4 MB, free: 5.766 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000266/0.1069, allocations: 60.19 kB / 388.5 MB, free: 5.707 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.1069, allocations: 30.56 kB / 388.5 MB, free: 5.668 MB / 350.1 MB Notification: Performance of pre-optimization done (n=13): time 1.312e-06/0.107, allocations: 4 kB / 388.5 MB, free: 5.664 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.000291/0.1072, allocations: 125.6 kB / 388.7 MB, free: 5.535 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.118e-05/0.1073, allocations: 59.34 kB / 388.7 MB, free: 5.465 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001127/0.1074, allocations: 129.7 kB / 388.8 MB, free: 5.328 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.1074, allocations: 25.7 kB / 388.9 MB, free: 5.297 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.102e-05/0.1075, allocations: 99.98 kB / 389 MB, free: 5.195 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.915e-05/0.1075, allocations: 47.53 kB / 389 MB, free: 5.148 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.83e-05/0.1076, allocations: 37.7 kB / 389.1 MB, free: 5.105 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.1077, allocations: 322.8 kB / 389.4 MB, free: 4.781 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.726e-05/0.1078, allocations: 23.98 kB / 389.4 MB, free: 4.758 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.668e-05/0.1079, allocations: 65.3 kB / 389.5 MB, free: 4.676 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001641/0.108, allocations: 113.1 kB / 389.6 MB, free: 4.547 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.108, allocations: 0 / 389.6 MB, free: 4.547 MB / 350.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002267/0.1083, allocations: 145.4 kB / 389.7 MB, free: 4.398 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.1083, allocations: 10.81 kB / 389.7 MB, free: 4.391 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.1083, allocations: 0 / 389.7 MB, free: 4.391 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.1083, allocations: 8.094 kB / 389.7 MB, free: 4.383 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001236/0.1084, allocations: 31.98 kB / 389.8 MB, free: 4.352 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.1084, allocations: 7.938 kB / 389.8 MB, free: 4.344 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.064e-05/0.1085, allocations: 11.89 kB / 389.8 MB, free: 4.332 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.051e-05/0.1085, allocations: 8 kB / 389.8 MB, free: 4.324 MB / 350.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.77e-05/0.1086, allocations: 121.8 kB / 389.9 MB, free: 4.195 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.186e-05/0.1087, allocations: 15.94 kB / 389.9 MB, free: 4.18 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003335/0.109, allocations: 134 kB / 390 MB, free: 4.047 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.109, allocations: 7.938 kB / 390.1 MB, free: 4.039 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.109, allocations: 4 kB / 390.1 MB, free: 4.035 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.109, allocations: 3.984 kB / 390.1 MB, free: 4.031 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004493/0.1095, allocations: 330 kB / 390.4 MB, free: 3.672 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1095, allocations: 0 / 390.4 MB, free: 3.672 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.215e-05/0.1095, allocations: 23.94 kB / 390.4 MB, free: 3.648 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.1095, allocations: 3.938 kB / 390.4 MB, free: 3.645 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.031e-05/0.1096, allocations: 7.984 kB / 390.4 MB, free: 3.637 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1096, allocations: 0 / 390.4 MB, free: 3.637 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1096, allocations: 0 / 390.4 MB, free: 3.637 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002321/0.1098, allocations: 203.5 kB / 390.6 MB, free: 3.422 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.563e-05/0.1098, allocations: 23.88 kB / 390.6 MB, free: 3.398 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/0.1099, allocations: 7.938 kB / 390.6 MB, free: 3.391 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.11, allocations: 4 kB / 390.7 MB, free: 3.387 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.026e-05/0.11, allocations: 7.984 kB / 390.7 MB, free: 3.379 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.817e-05/0.11, allocations: 11.98 kB / 390.7 MB, free: 3.367 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.333e-05/0.1101, allocations: 87.28 kB / 390.8 MB, free: 3.281 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1101, allocations: 0 / 390.8 MB, free: 3.281 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003384/0.1104, allocations: 67.86 kB / 390.8 MB, free: 3.215 MB / 350.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.0002615/0.1107, allocations: 170.9 kB / 391 MB, free: 3.039 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001723/0.1108, allocations: 71.91 kB / 391.1 MB, free: 2.969 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.1108, allocations: 4 kB / 391.1 MB, free: 2.965 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.787e-05/0.1109, allocations: 35.91 kB / 391.1 MB, free: 2.93 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004229/0.1113, allocations: 47.36 kB / 391.1 MB, free: 2.887 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004258/0.1117, allocations: 244.1 kB / 391.4 MB, free: 2.625 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.848e-05/0.1118, allocations: 79.83 kB / 391.5 MB, free: 2.527 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001174/0.1119, allocations: 32.83 kB / 391.5 MB, free: 2.496 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.912e-05/0.112, allocations: 24.5 kB / 391.5 MB, free: 2.473 MB / 350.1 MB Notification: Performance of SimCode: time 3.41e-07/0.112, allocations: 0 / 391.5 MB, free: 2.473 MB / 350.1 MB Notification: Performance of Templates: time 0.00618/0.1182, allocations: 2.506 MB / 394 MB, free: 4 kB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; mkfifo Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe >> ../files/Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.sim & ./Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Incompressible/Examples/TestGlycol/TestGlycol.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.443001796025783]