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.001753/0.001753, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002097/0.002097, allocations: 213.3 kB / 24.54 MB, free: 4.016 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.444/1.444, allocations: 230.3 MB / 258 MB, free: 8.262 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.001962/0.001962, allocations: 67.89 kB / 378.8 MB, free: 2.805 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2321, allocations: 53.36 MB / 432.1 MB, free: 7.109 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.006663/0.2387, allocations: 5.082 MB / 437.2 MB, free: 2.008 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002513/0.2412, allocations: 1.345 MB / 438.6 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002826/0.2415, allocations: 11.94 kB / 438.6 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004901/0.242, allocations: 162.5 kB / 438.7 MB, free: 500 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006294/0.2426, allocations: 333.2 kB / 439.1 MB, free: 164 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004568/0.2431, allocations: 239.6 kB / 439.3 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001285/0.2444, allocations: 1.172 MB / 440.5 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003752/0.2448, allocations: 214.6 kB / 440.7 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000546/0.2453, allocations: 474.3 kB / 441.1 MB, free: 14.06 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006193/0.2459, allocations: 0.498 MB / 441.6 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001541/0.2461, allocations: 108 kB / 441.8 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001929/0.2463, allocations: 108 kB / 441.9 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002161/0.2465, allocations: 227.2 kB / 442.1 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005543/0.247, allocations: 0.5211 MB / 442.6 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00154/0.2486, allocations: 1.206 MB / 443.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.2486, allocations: 0 / 443.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2486, allocations: 0 / 443.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.466e-05/0.2486, allocations: 0 / 443.8 MB, free: 11.39 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.002689/0.2513, allocations: 1.292 MB / 445.1 MB, free: 10.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.815e-05/0.2513, allocations: 12.03 kB / 445.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002117/0.2515, allocations: 116.3 kB / 445.2 MB, free: 9.926 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001075/0.2526, allocations: 0.5351 MB / 445.8 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002279/0.2528, allocations: 139 kB / 445.9 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000108/0.253, allocations: 60.12 kB / 446 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001604/0.2546, allocations: 0.8517 MB / 446.8 MB, free: 8.195 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/0.2546, allocations: 0 / 446.8 MB, free: 8.195 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.082e-05/0.2546, allocations: 24 kB / 446.8 MB, free: 8.172 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/0.2547, allocations: 16 kB / 446.8 MB, free: 8.156 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001556/0.2562, allocations: 0.6062 MB / 447.4 MB, free: 7.547 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.003648/0.2599, allocations: 2.007 MB / 449.5 MB, free: 5.441 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001439/0.2613, allocations: 0.5919 MB / 450 MB, free: 4.844 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008499/0.2622, allocations: 354.6 kB / 450.4 MB, free: 4.496 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.062e-05/0.2622, allocations: 20.64 kB / 450.4 MB, free: 4.477 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.18e-05/0.2623, allocations: 43.22 kB / 450.5 MB, free: 4.422 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.394e-06/0.2623, allocations: 0 / 450.5 MB, free: 4.422 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.005482/0.2677, allocations: 1.492 MB / 451.9 MB, free: 2.918 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004839/0.2682, allocations: 0.8272 MB / 452.8 MB, free: 1.895 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000872/0.2691, allocations: 0.6293 MB / 453.4 MB, free: 1.254 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.033e-05/0.2692, allocations: 41.7 kB / 453.4 MB, free: 1.207 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003044/0.2695, allocations: 341.4 kB / 453.8 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002543/0.2697, allocations: 265.7 kB / 454 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002649/0.27, allocations: 142.6 kB / 454.2 MB, free: 476 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002173/0.2702, allocations: 386.8 kB / 454.6 MB, free: 80 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007432/0.271, allocations: 269.8 kB / 454.8 MB, free: 15.81 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001066/0.272, allocations: 0.5624 MB / 455.4 MB, free: 15.15 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001534/0.2736, allocations: 0.6817 MB / 456.1 MB, free: 14.44 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.2736, allocations: 0 / 456.1 MB, free: 14.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002943/0.2765, allocations: 1.091 MB / 457.2 MB, free: 13.31 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.346e-05/0.2766, allocations: 89.09 kB / 457.2 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.2766, allocations: 0 / 457.2 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007578/0.2774, allocations: 239.2 kB / 457.5 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006897/0.278, allocations: 139.8 kB / 457.6 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008938/0.287, allocations: 6.521 MB / 464.1 MB, free: 5.848 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009936/0.288, allocations: 111.4 kB / 464.2 MB, free: 5.738 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.916e-05/0.288, allocations: 24 kB / 464.3 MB, free: 5.715 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.0003721/0.2884, allocations: 221.7 kB / 464.5 MB, free: 5.488 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001571/0.2886, allocations: 87.72 kB / 464.6 MB, free: 5.402 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000195/0.2888, allocations: 91.33 kB / 464.7 MB, free: 5.305 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.946e-06/0.2888, allocations: 11.98 kB / 464.7 MB, free: 5.293 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.2888, allocations: 0 / 464.7 MB, free: 5.293 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002799/0.2916, allocations: 1.237 MB / 465.9 MB, free: 3.941 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004231/0.2958, allocations: 1.892 MB / 467.8 MB, free: 1.988 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.339e-06/0.2958, allocations: 0 / 467.8 MB, free: 1.988 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007393/0.2965, allocations: 139.8 kB / 467.9 MB, free: 1.852 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005968/0.2971, allocations: 198.4 kB / 468.1 MB, free: 1.648 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.803e-05/0.2972, allocations: 12 kB / 468.1 MB, free: 1.637 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007417/0.3046, allocations: 5.036 MB / 473.2 MB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3046, allocations: 4.031 kB / 473.2 MB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003775/0.3084, allocations: 1.392 MB / 474.6 MB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004726/0.3089, allocations: 167.3 kB / 474.7 MB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001302/0.309, allocations: 16 kB / 474.7 MB, free: 10.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006986/0.3097, allocations: 51.94 kB / 474.8 MB, free: 10.61 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002029/0.3099, allocations: 64.53 kB / 474.9 MB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.023e-05/0.3099, allocations: 23.94 kB / 474.9 MB, free: 10.52 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006518/0.3106, allocations: 459 kB / 475.3 MB, free: 10.08 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3106, allocations: 0 / 475.3 MB, free: 10.08 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009025/0.3115, allocations: 283.8 kB / 475.6 MB, free: 9.801 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.000197/0.3117, allocations: 126.7 kB / 475.7 MB, free: 9.668 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002411/0.3141, allocations: 1.313 MB / 477 MB, free: 8.262 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/0.3141, allocations: 4 kB / 477.1 MB, free: 8.258 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001523/0.3156, allocations: 0.7457 MB / 477.8 MB, free: 7.477 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.3166, allocations: 241.8 kB / 478 MB, free: 7.246 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003079/0.3197, allocations: 1.633 MB / 479.7 MB, free: 5.578 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006298/0.3204, allocations: 0.9323 MB / 480.6 MB, free: 4.621 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004819/0.3208, allocations: 106.4 kB / 480.7 MB, free: 4.512 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001827/0.321, allocations: 63.44 kB / 480.8 MB, free: 4.449 MB / 382.1 MB Notification: Performance of SimCode: time 9.92e-07/0.321, allocations: 0 / 480.8 MB, free: 4.449 MB / 382.1 MB Notification: Performance of Templates: time 0.03345/0.3545, allocations: 19.19 MB / 500 MB, free: 1.516 MB / 398.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TwoMass/TwoMass.csv","/var/lib/jenkins/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: 5.372002533636987]