Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.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.001551/0.001551, allocations: 92.33 kB / 21.73 MB, free: 2.68 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.001563/0.001563, allocations: 169.5 kB / 25.02 MB, free: 9.434 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.433/1.433, allocations: 158.6 MB / 186.8 MB, free: 2.902 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.Thermal.FluidHeatFlow.Examples.TwoMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.835e-06/2.835e-06, allocations: 0 / 250.3 MB, free: 4.051 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.647e-05/3.93e-05, allocations: 9.406 kB / 250.4 MB, free: 4.043 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.01255/0.01259, allocations: 4.514 MB / 254.9 MB, free: 15.5 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005533/0.01813, allocations: 1.305 MB / 256.2 MB, free: 14.18 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009518/0.01908, allocations: 11.94 kB / 256.2 MB, free: 14.17 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001003/0.02008, allocations: 158.6 kB / 256.3 MB, free: 14.02 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002294/0.02237, allocations: 353 kB / 256.7 MB, free: 13.67 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001145/0.02352, allocations: 227.5 kB / 256.9 MB, free: 13.45 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003409/0.02693, allocations: 1.222 MB / 258.1 MB, free: 12.22 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008084/0.02774, allocations: 218.5 kB / 258.3 MB, free: 11.99 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001768/0.02951, allocations: 0.6783 MB / 259 MB, free: 11.31 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001248/0.03075, allocations: 374.9 kB / 259.4 MB, free: 10.95 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003562/0.03111, allocations: 104 kB / 259.5 MB, free: 10.84 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004057/0.03151, allocations: 108 kB / 259.6 MB, free: 10.74 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003522/0.03187, allocations: 227.2 kB / 259.8 MB, free: 10.52 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008004/0.03267, allocations: 387.1 kB / 260.2 MB, free: 10.14 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002442/0.03511, allocations: 1.25 MB / 261.4 MB, free: 8.883 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.03512, allocations: 3.938 kB / 261.4 MB, free: 8.879 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.03512, allocations: 3.938 kB / 261.4 MB, free: 8.875 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.153e-05/0.03514, allocations: 0 / 261.4 MB, free: 8.875 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.004622/0.03976, allocations: 1.284 MB / 262.7 MB, free: 7.539 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.49e-05/0.03983, allocations: 15.98 kB / 262.7 MB, free: 7.523 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005184/0.04035, allocations: 160.3 kB / 262.9 MB, free: 7.367 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002017/0.04236, allocations: 0.5344 MB / 263.4 MB, free: 6.805 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007331/0.0431, allocations: 297.2 kB / 263.7 MB, free: 6.457 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002523/0.04335, allocations: 72.38 kB / 263.8 MB, free: 6.387 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003392/0.04674, allocations: 1.608 MB / 265.4 MB, free: 4.492 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.512e-05/0.04677, allocations: 3.938 kB / 265.4 MB, free: 4.488 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.004e-05/0.04685, allocations: 28 kB / 265.4 MB, free: 4.461 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.891e-05/0.04686, allocations: 12 kB / 265.5 MB, free: 4.449 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0016/0.04847, allocations: 0.5984 MB / 266 MB, free: 3.852 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.003819/0.05228, allocations: 1.523 MB / 267.6 MB, free: 2.297 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001385/0.05367, allocations: 0.5783 MB / 268.2 MB, free: 1.711 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008708/0.05454, allocations: 366.4 kB / 268.5 MB, free: 1.352 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.347e-05/0.0546, allocations: 16.66 kB / 268.5 MB, free: 1.336 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.164e-05/0.05465, allocations: 47.22 kB / 268.6 MB, free: 1.281 MB / 250.7 MB Notification: Performance of pre-optimization done (n=73): time 3.176e-06/0.05466, allocations: 0 / 268.6 MB, free: 1.281 MB / 250.7 MB Notification: Performance of matching and sorting (n=73): time 0.005716/0.06037, allocations: 1.511 MB / 270.1 MB, free: 15.75 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007839/0.06116, allocations: 0.8234 MB / 270.9 MB, free: 14.73 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/0.06218, allocations: 0.6018 MB / 271.5 MB, free: 14.12 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001307/0.06231, allocations: 49.64 kB / 271.6 MB, free: 14.07 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003518/0.06267, allocations: 337.3 kB / 271.9 MB, free: 13.73 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003325/0.063, allocations: 269.7 kB / 272.1 MB, free: 13.47 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002787/0.06328, allocations: 138.7 kB / 272.3 MB, free: 13.33 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002554/0.06353, allocations: 390.7 kB / 272.7 MB, free: 12.94 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008072/0.06434, allocations: 347 kB / 273 MB, free: 12.58 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001802/0.06614, allocations: 1.395 MB / 274.4 MB, free: 10.88 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00156/0.0677, allocations: 0.6817 MB / 275.1 MB, free: 10.18 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-06/0.06771, allocations: 4 kB / 275.1 MB, free: 10.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003285/0.07099, allocations: 1.194 MB / 276.3 MB, free: 8.922 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001019/0.07109, allocations: 93.11 kB / 276.4 MB, free: 8.812 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.0711, allocations: 0 / 276.4 MB, free: 8.812 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001142/0.07225, allocations: 271.1 kB / 276.6 MB, free: 8.535 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006852/0.07293, allocations: 139.8 kB / 276.8 MB, free: 8.398 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009403/0.08233, allocations: 6.403 MB / 283.2 MB, free: 1.578 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001044/0.08338, allocations: 99.55 kB / 283.3 MB, free: 1.48 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.547e-05/0.08344, allocations: 27.98 kB / 283.3 MB, free: 1.453 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (69): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(3,3), (1,3), (1,7), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004335/0.08388, allocations: 217.8 kB / 283.5 MB, free: 1.23 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000223/0.0841, allocations: 111.5 kB / 283.6 MB, free: 1.121 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002038/0.08431, allocations: 90.95 kB / 283.7 MB, free: 1.027 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.08431, allocations: 4 kB / 283.7 MB, free: 1.023 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.08432, allocations: 0 / 283.7 MB, free: 1.023 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002964/0.08728, allocations: 1.237 MB / 284.9 MB, free: 15.67 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004187/0.09147, allocations: 1.662 MB / 286.6 MB, free: 13.96 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.09148, allocations: 0 / 286.6 MB, free: 13.96 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007337/0.09221, allocations: 139.8 kB / 286.7 MB, free: 13.82 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009363/0.09315, allocations: 230.6 kB / 287 MB, free: 13.59 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.331e-05/0.0932, allocations: 19.98 kB / 287 MB, free: 13.57 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007881/0.1011, allocations: 4.949 MB / 291.9 MB, free: 8.316 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.1011, allocations: 0 / 291.9 MB, free: 8.316 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003796/0.1049, allocations: 1.415 MB / 293.4 MB, free: 6.875 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004998/0.1054, allocations: 167.2 kB / 293.5 MB, free: 6.711 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001158/0.1055, allocations: 23.98 kB / 293.5 MB, free: 6.688 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006674/0.1062, allocations: 51.95 kB / 293.6 MB, free: 6.637 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002389/0.1064, allocations: 64.53 kB / 293.7 MB, free: 6.574 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.66e-05/0.1065, allocations: 16.12 kB / 293.7 MB, free: 6.559 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0006543/0.1071, allocations: 439.1 kB / 294.1 MB, free: 6.133 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.1071, allocations: 0 / 294.1 MB, free: 6.133 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009699/0.1081, allocations: 279.7 kB / 294.4 MB, free: 5.859 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,3), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002053/0.1083, allocations: 123.2 kB / 294.5 MB, free: 5.73 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002679/0.111, allocations: 1.397 MB / 295.9 MB, free: 4.234 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/0.111, allocations: 4 kB / 295.9 MB, free: 4.23 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001572/0.1126, allocations: 0.7415 MB / 296.6 MB, free: 3.449 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/0.1137, allocations: 241.5 kB / 296.9 MB, free: 3.215 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003284/0.117, allocations: 1.521 MB / 298.4 MB, free: 1.656 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005537/0.1175, allocations: 345.7 kB / 298.7 MB, free: 1.293 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000428/0.1179, allocations: 98.16 kB / 298.8 MB, free: 1.195 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001914/0.1181, allocations: 68.5 kB / 298.9 MB, free: 1.129 MB / 282.7 MB Notification: Performance of SimCode: time 1.212e-06/0.1181, allocations: 4 kB / 298.9 MB, free: 1.125 MB / 282.7 MB Notification: Performance of Templates: time 0.1383/0.2564, allocations: 19.08 MB / 318 MB, free: 48.39 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TwoMass/TwoMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.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: 5.363523807027377]