Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 104.6 kB / 21.18 MB, free: 0.6992 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 181.2 kB / 24.46 MB, free: 4.059 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.496/1.496, allocations: 207.6 MB / 235.2 MB, free: 10.02 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001829/0.001829, allocations: 55.92 kB / 347.7 MB, free: 9.52 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3488, allocations: 49.15 MB / 396.8 MB, free: 9.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47): time 0.02862/0.3774, allocations: 24.89 MB / 421.7 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004599/0.382, allocations: 2.523 MB / 424.3 MB, free: 5.352 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003184/0.3823, allocations: 7.438 kB / 424.3 MB, free: 5.348 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008085/0.3832, allocations: 165.7 kB / 424.4 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009118/0.3841, allocations: 333.4 kB / 424.8 MB, free: 4.938 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003354/0.3874, allocations: 0.9995 MB / 425.8 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001457/0.3889, allocations: 0.9081 MB / 426.7 MB, free: 3.762 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002275/0.3891, allocations: 90.58 kB / 426.8 MB, free: 3.707 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005694/0.3948, allocations: 2.778 MB / 429.5 MB, free: 2.305 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006628/0.3955, allocations: 297.8 kB / 429.8 MB, free: 2.133 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.07e-05/0.3955, allocations: 29.47 kB / 429.8 MB, free: 2.133 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008086/0.3963, allocations: 259.6 kB / 430.1 MB, free: 2.008 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001279/0.3965, allocations: 98.86 kB / 430.2 MB, free: 1.934 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002555/0.3967, allocations: 192.3 kB / 430.4 MB, free: 1.809 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009174/0.3976, allocations: 0.5759 MB / 431 MB, free: 1.234 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.3976, allocations: 0 / 431 MB, free: 1.234 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.3976, allocations: 0 / 431 MB, free: 1.234 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.346e-06/0.3977, allocations: 4 kB / 431 MB, free: 1.23 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0009502/0.3986, allocations: 0.5674 MB / 431.5 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.3986, allocations: 11.98 kB / 431.5 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003839/0.399, allocations: 52.67 kB / 431.6 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004409/0.3995, allocations: 245.8 kB / 431.8 MB, free: 308 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.76e-05/0.3995, allocations: 21.03 kB / 431.9 MB, free: 288 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.547e-05/0.3996, allocations: 28.38 kB / 431.9 MB, free: 260 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005795/0.4001, allocations: 331.6 kB / 432.2 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.003e-05/0.4002, allocations: 4 kB / 432.2 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.049e-05/0.4002, allocations: 16 kB / 432.2 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.4002, allocations: 4 kB / 432.2 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003526/0.4006, allocations: 193.5 kB / 432.4 MB, free: 15.68 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.002086/0.4026, allocations: 1.629 MB / 434 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003295/0.403, allocations: 174.5 kB / 434.2 MB, free: 13.76 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001434/0.4031, allocations: 76.77 kB / 434.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.629e-05/0.4032, allocations: 24.2 kB / 434.3 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.908e-05/0.4032, allocations: 38.56 kB / 434.4 MB, free: 13.61 MB / 350.1 MB Notification: Performance of pre-optimization done (n=24): time 1.943e-06/0.4032, allocations: 4 kB / 434.4 MB, free: 13.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.002535/0.4058, allocations: 0.8721 MB / 435.2 MB, free: 12.7 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.166e-05/0.4058, allocations: 55.41 kB / 435.3 MB, free: 12.63 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002938/0.4061, allocations: 261.9 kB / 435.5 MB, free: 12.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.578e-05/0.4061, allocations: 29.7 kB / 435.6 MB, free: 12.33 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001381/0.4063, allocations: 188.5 kB / 435.8 MB, free: 12.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.137e-05/0.4064, allocations: 111 kB / 435.9 MB, free: 12.03 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.4065, allocations: 66.08 kB / 435.9 MB, free: 11.96 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.4066, allocations: 342.7 kB / 436.3 MB, free: 11.61 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001589/0.4068, allocations: 92.72 kB / 436.4 MB, free: 11.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002305/0.407, allocations: 170.8 kB / 436.5 MB, free: 11.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004167/0.4074, allocations: 281.2 kB / 436.8 MB, free: 11.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.4074, allocations: 0 / 436.8 MB, free: 11.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006298/0.4081, allocations: 377.8 kB / 437.2 MB, free: 10.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.4081, allocations: 4 kB / 437.2 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.4081, allocations: 4 kB / 437.2 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004266/0.4085, allocations: 101 kB / 437.3 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002552/0.4088, allocations: 67.84 kB / 437.3 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006183/0.4094, allocations: 0.6577 MB / 438 MB, free: 9.777 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001769/0.4096, allocations: 8 kB / 438 MB, free: 9.77 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.713e-05/0.4096, allocations: 16 kB / 438 MB, free: 9.754 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (36): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0002034/0.4098, allocations: 149.8 kB / 438.2 MB, free: 9.598 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.986e-05/0.4099, allocations: 43.73 kB / 438.2 MB, free: 9.555 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006978/0.4106, allocations: 365 kB / 438.6 MB, free: 9.172 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/0.4106, allocations: 7.984 kB / 438.6 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.4106, allocations: 0 / 438.6 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005871/0.4112, allocations: 0.5476 MB / 439.1 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001192/0.4124, allocations: 0.722 MB / 439.8 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.4124, allocations: 4 kB / 439.8 MB, free: 7.742 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001484/0.4125, allocations: 31.97 kB / 439.9 MB, free: 7.711 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005292/0.4131, allocations: 104.8 kB / 440 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.053e-05/0.4131, allocations: 8 kB / 440 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000568/0.4137, allocations: 0.6381 MB / 440.6 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4137, allocations: 0 / 440.6 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007881/0.4144, allocations: 485.7 kB / 441.1 MB, free: 6.434 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.881e-05/0.4145, allocations: 23.89 kB / 441.1 MB, free: 6.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.147e-05/0.4146, allocations: 8.078 kB / 441.1 MB, free: 6.402 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002255/0.4148, allocations: 11.94 kB / 441.1 MB, free: 6.391 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.372e-05/0.4148, allocations: 15.97 kB / 441.2 MB, free: 6.375 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.065e-05/0.4148, allocations: 15.98 kB / 441.2 MB, free: 6.359 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002329/0.4151, allocations: 205.2 kB / 441.4 MB, free: 6.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4151, allocations: 0 / 441.4 MB, free: 6.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004688/0.4155, allocations: 107.9 kB / 441.5 MB, free: 6.055 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (volume.medium.T) * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002689/0.4158, allocations: 143 kB / 441.6 MB, free: 5.902 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005588/0.4164, allocations: 241.6 kB / 441.9 MB, free: 5.668 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.4164, allocations: 8 kB / 441.9 MB, free: 5.66 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002859/0.4167, allocations: 115.8 kB / 442 MB, free: 5.547 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000988/0.4177, allocations: 168.7 kB / 442.1 MB, free: 5.383 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/0.419, allocations: 0.6404 MB / 442.8 MB, free: 4.711 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004642/0.4195, allocations: 0.7606 MB / 443.5 MB, free: 3.926 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002578/0.4198, allocations: 67.17 kB / 443.6 MB, free: 3.863 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.953e-05/0.4198, allocations: 31.42 kB / 443.6 MB, free: 3.836 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.4198, allocations: 0 / 443.6 MB, free: 3.836 MB / 350.1 MB Notification: Performance of Templates: time 0.01438/0.4342, allocations: 7.366 MB / 451 MB, free: 12.46 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Incompressible/Glycol47/Glycol47.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Incompressible.Glycol47.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.878952722996473]