Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.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.002066/0.002066, allocations: 103.6 kB / 21.19 MB, free: 0.5234 MB / 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.002593/0.002593, allocations: 214.5 kB / 24.48 MB, free: 3.836 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.488/1.488, allocations: 230.5 MB / 258.1 MB, free: 7.797 MB / 206.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.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_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 67.89 kB / 379 MB, free: 2.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2452/0.2473, allocations: 53.41 MB / 432.4 MB, free: 6.555 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.006178/0.2535, allocations: 4.518 MB / 436.9 MB, free: 2.023 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002667/0.2561, allocations: 1.281 MB / 438.2 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004127/0.2565, allocations: 11.94 kB / 438.2 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004566/0.257, allocations: 158.6 kB / 438.4 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007661/0.2578, allocations: 337.2 kB / 438.7 MB, free: 244 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004829/0.2582, allocations: 231.6 kB / 438.9 MB, free: 12 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001439/0.2597, allocations: 1.18 MB / 440.1 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003777/0.2601, allocations: 206.6 kB / 440.3 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006135/0.2607, allocations: 466.4 kB / 440.7 MB, free: 14.15 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006196/0.2613, allocations: 445.9 kB / 441.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001624/0.2615, allocations: 104 kB / 441.3 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001927/0.2616, allocations: 104 kB / 441.4 MB, free: 13.51 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001976/0.2618, allocations: 223.2 kB / 441.6 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004808/0.2623, allocations: 454.1 kB / 442 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001277/0.2636, allocations: 1.221 MB / 443.3 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.2636, allocations: 4 kB / 443.3 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.2636, allocations: 0 / 443.3 MB, free: 11.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.775e-05/0.2636, allocations: 4 kB / 443.3 MB, free: 11.62 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.002565/0.2662, allocations: 1.284 MB / 444.6 MB, free: 10.28 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.2662, allocations: 15.98 kB / 444.6 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002005/0.2664, allocations: 112.3 kB / 444.7 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001074/0.2675, allocations: 0.5351 MB / 445.2 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003034/0.2678, allocations: 297.2 kB / 445.5 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001123/0.2679, allocations: 64.12 kB / 445.6 MB, free: 9.184 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001936/0.2699, allocations: 1.604 MB / 447.2 MB, free: 7.293 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.269e-05/0.2699, allocations: 0 / 447.2 MB, free: 7.293 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.023e-05/0.2699, allocations: 28 kB / 447.2 MB, free: 7.266 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.276e-05/0.27, allocations: 12 kB / 447.2 MB, free: 7.254 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001448/0.2714, allocations: 0.6023 MB / 447.8 MB, free: 6.648 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.00341/0.2748, allocations: 1.519 MB / 449.3 MB, free: 5.094 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001326/0.2762, allocations: 0.5852 MB / 449.9 MB, free: 4.504 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008254/0.277, allocations: 363.5 kB / 450.3 MB, free: 4.148 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.772e-05/0.277, allocations: 12.64 kB / 450.3 MB, free: 4.133 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.185e-05/0.2771, allocations: 51.22 kB / 450.3 MB, free: 4.074 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 3.377e-06/0.2771, allocations: 0 / 450.3 MB, free: 4.074 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.00511/0.2822, allocations: 1.476 MB / 451.8 MB, free: 2.586 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004574/0.2827, allocations: 0.8272 MB / 452.6 MB, free: 1.559 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008687/0.2835, allocations: 0.6019 MB / 453.2 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001356/0.2837, allocations: 45.7 kB / 453.3 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003013/0.284, allocations: 341.2 kB / 453.6 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002601/0.2842, allocations: 265.7 kB / 453.9 MB, free: 304 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000252/0.2845, allocations: 146.7 kB / 454 MB, free: 152 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002175/0.2847, allocations: 386.8 kB / 454.4 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007503/0.2854, allocations: 347 kB / 454.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001405/0.2868, allocations: 1.395 MB / 456.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001434/0.2883, allocations: 0.6779 MB / 456.8 MB, free: 13 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.2883, allocations: 0 / 456.8 MB, free: 13 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002883/0.2912, allocations: 1.166 MB / 458 MB, free: 11.78 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.061e-05/0.2913, allocations: 93.05 kB / 458.1 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/0.2913, allocations: 3.984 kB / 458.1 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007281/0.292, allocations: 239.2 kB / 458.3 MB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006744/0.2927, allocations: 139.8 kB / 458.4 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008556/0.3012, allocations: 6.387 MB / 464.8 MB, free: 4.488 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009721/0.3022, allocations: 95.73 kB / 464.9 MB, free: 4.395 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.87e-05/0.3023, allocations: 27.98 kB / 465 MB, free: 4.367 MB / 366.1 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.0004055/0.3027, allocations: 213.7 kB / 465.2 MB, free: 4.148 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001824/0.3029, allocations: 91.42 kB / 465.3 MB, free: 4.059 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000201/0.3031, allocations: 91.02 kB / 465.3 MB, free: 3.961 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/0.3031, allocations: 8 kB / 465.4 MB, free: 3.953 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.3031, allocations: 4 kB / 465.4 MB, free: 3.949 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002643/0.3057, allocations: 1.225 MB / 466.6 MB, free: 2.609 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004037/0.3098, allocations: 1.67 MB / 468.3 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.728e-06/0.3098, allocations: 0 / 468.3 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007011/0.3105, allocations: 139.8 kB / 468.4 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005787/0.3111, allocations: 198.5 kB / 468.6 MB, free: 0.5508 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.617e-05/0.3111, allocations: 15.98 kB / 468.6 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007014/0.3181, allocations: 4.933 MB / 473.5 MB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3181, allocations: 0 / 473.5 MB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003529/0.3217, allocations: 1.396 MB / 474.9 MB, free: 9.879 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004687/0.3221, allocations: 163.3 kB / 475.1 MB, free: 9.719 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/0.3222, allocations: 16 kB / 475.1 MB, free: 9.703 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006603/0.3229, allocations: 47.95 kB / 475.1 MB, free: 9.656 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001777/0.3231, allocations: 68.53 kB / 475.2 MB, free: 9.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.241e-05/0.3231, allocations: 20 kB / 475.2 MB, free: 9.57 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005691/0.3237, allocations: 435.1 kB / 475.7 MB, free: 9.148 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3237, allocations: 0 / 475.7 MB, free: 9.148 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008867/0.3246, allocations: 283.7 kB / 475.9 MB, free: 8.871 MB / 382.1 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.0001911/0.3248, allocations: 126.7 kB / 476.1 MB, free: 8.738 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002413/0.3272, allocations: 1.392 MB / 477.5 MB, free: 7.238 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/0.3272, allocations: 4.125 kB / 477.5 MB, free: 7.234 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001444/0.3286, allocations: 0.7417 MB / 478.2 MB, free: 6.457 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001015/0.3296, allocations: 238.7 kB / 478.4 MB, free: 6.227 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002951/0.3326, allocations: 1.656 MB / 480.1 MB, free: 4.535 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003561/0.3329, allocations: 349.6 kB / 480.4 MB, free: 4.168 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002171/0.3332, allocations: 67.44 kB / 480.5 MB, free: 4.102 MB / 382.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3332, allocations: 0 / 480.5 MB, free: 4.102 MB / 382.1 MB Notification: Performance of Templates: time 0.02927/0.3624, allocations: 22.86 MB / 0.4916 GB, free: 13.3 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TwoMass/TwoMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 9.79750599572435]