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.001636/0.001636, allocations: 116.2 kB / 18.5 MB, free: 4.543 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.001803/0.001803, allocations: 201 kB / 21.45 MB, free: 1.59 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.467/1.467, allocations: 230.2 MB / 254.5 MB, free: 15.24 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.002044/0.002044, allocations: 63.89 kB / 373.8 MB, free: 9.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1032, allocations: 53.32 MB / 427.2 MB, free: 4.488 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.1909/0.294, allocations: 5.058 MB / 432.2 MB, free: 8.055 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00223/0.2962, allocations: 1.34 MB / 433.5 MB, free: 8.039 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003009/0.2965, allocations: 10.84 kB / 433.6 MB, free: 8.039 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003521/0.2969, allocations: 160.8 kB / 433.7 MB, free: 8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005301/0.2974, allocations: 339.8 kB / 434 MB, free: 7.855 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003634/0.2978, allocations: 227.2 kB / 434.3 MB, free: 7.848 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008907/0.2987, allocations: 1.172 MB / 435.4 MB, free: 7.555 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002936/0.299, allocations: 224.2 kB / 435.7 MB, free: 7.492 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004003/0.2994, allocations: 458.9 kB / 436.1 MB, free: 7.402 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00049/0.2999, allocations: 0.5074 MB / 436.6 MB, free: 7.301 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001397/0.3, allocations: 104.1 kB / 436.7 MB, free: 7.301 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001753/0.3002, allocations: 105.6 kB / 436.8 MB, free: 7.301 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001529/0.3003, allocations: 227 kB / 437 MB, free: 7.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004149/0.3007, allocations: 0.5171 MB / 437.6 MB, free: 6.859 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001222/0.302, allocations: 1.202 MB / 438.8 MB, free: 6.418 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.302, allocations: 2.344 kB / 438.8 MB, free: 6.418 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.302, allocations: 0 / 438.8 MB, free: 6.418 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.476e-05/0.302, allocations: 0 / 438.8 MB, free: 6.418 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.002268/0.3043, allocations: 1.367 MB / 440.1 MB, free: 5.469 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.3043, allocations: 8.938 kB / 440.1 MB, free: 5.469 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000192/0.3045, allocations: 115.8 kB / 440.3 MB, free: 5.414 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008674/0.3054, allocations: 0.5996 MB / 440.9 MB, free: 4.988 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001703/0.3055, allocations: 142 kB / 441 MB, free: 4.875 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.683e-05/0.3056, allocations: 62.06 kB / 441.1 MB, free: 4.852 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/0.307, allocations: 0.8425 MB / 441.9 MB, free: 4.324 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.06e-05/0.3071, allocations: 0 / 441.9 MB, free: 4.324 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.731e-05/0.3071, allocations: 29.5 kB / 441.9 MB, free: 4.305 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.043e-05/0.3072, allocations: 14.53 kB / 441.9 MB, free: 4.305 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001379/0.3085, allocations: 0.6006 MB / 442.5 MB, free: 4.117 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.003115/0.3117, allocations: 2.059 MB / 444.6 MB, free: 2.926 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001209/0.3129, allocations: 0.8037 MB / 445.4 MB, free: 2.422 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007022/0.3136, allocations: 356.8 kB / 445.7 MB, free: 2.297 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.517e-05/0.3136, allocations: 14.69 kB / 445.8 MB, free: 2.297 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.3137, allocations: 49.97 kB / 445.8 MB, free: 2.246 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.084e-06/0.3137, allocations: 4 kB / 445.8 MB, free: 2.242 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004796/0.3184, allocations: 1.79 MB / 447.6 MB, free: 1.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001269/0.3186, allocations: 0.8233 MB / 448.4 MB, free: 416 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006776/0.3193, allocations: 0.6302 MB / 449.1 MB, free: 124 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.49e-05/0.3193, allocations: 45.33 kB / 449.1 MB, free: 80 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003466/0.3197, allocations: 347.1 kB / 449.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002359/0.3199, allocations: 267.1 kB / 449.7 MB, free: 15.6 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002617/0.3202, allocations: 148 kB / 449.8 MB, free: 15.52 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002085/0.3204, allocations: 384.3 kB / 450.2 MB, free: 15.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007042/0.3211, allocations: 271.8 kB / 450.5 MB, free: 15.09 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001009/0.3221, allocations: 0.5506 MB / 451 MB, free: 14.69 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001465/0.3235, allocations: 0.6814 MB / 451.7 MB, free: 14.33 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.3236, allocations: 0 / 451.7 MB, free: 14.33 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002851/0.3264, allocations: 1.09 MB / 452.8 MB, free: 13.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.575e-05/0.3265, allocations: 92.78 kB / 452.9 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.3265, allocations: 3.078 kB / 452.9 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007356/0.3272, allocations: 237.1 kB / 453.1 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006302/0.3279, allocations: 136.7 kB / 453.3 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008598/0.3365, allocations: 6.925 MB / 460.2 MB, free: 7.367 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001097/0.3375, allocations: 113.7 kB / 460.3 MB, free: 7.312 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.215e-05/0.3376, allocations: 24.64 kB / 460.3 MB, free: 7.305 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.0004172/0.338, allocations: 217.5 kB / 460.5 MB, free: 7.129 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001615/0.3382, allocations: 88.89 kB / 460.6 MB, free: 7.086 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001833/0.3384, allocations: 92.55 kB / 460.7 MB, free: 7.016 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.3384, allocations: 9.781 kB / 460.7 MB, free: 7.016 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.858e-06/0.3384, allocations: 0.9375 kB / 460.7 MB, free: 7.016 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002668/0.3411, allocations: 1.235 MB / 462 MB, free: 6.219 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004157/0.3452, allocations: 1.92 MB / 463.9 MB, free: 4.984 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.3452, allocations: 4 kB / 463.9 MB, free: 4.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007053/0.3459, allocations: 144.5 kB / 464 MB, free: 4.941 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005681/0.3465, allocations: 196.1 kB / 464.2 MB, free: 4.84 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.036e-05/0.3465, allocations: 16.39 kB / 464.2 MB, free: 4.828 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007173/0.3537, allocations: 5.351 MB / 469.6 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.3537, allocations: 3.984 kB / 469.6 MB, free: 15.78 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003664/0.3574, allocations: 1.389 MB / 471 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005587/0.3579, allocations: 241.6 kB / 471.2 MB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001302/0.3581, allocations: 18.81 kB / 471.2 MB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006891/0.3588, allocations: 52.19 kB / 471.3 MB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001941/0.359, allocations: 62.61 kB / 471.3 MB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.707e-05/0.359, allocations: 21.36 kB / 471.4 MB, free: 14.7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006246/0.3596, allocations: 456.8 kB / 471.8 MB, free: 14.44 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3596, allocations: 0 / 471.8 MB, free: 14.44 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009272/0.3606, allocations: 285.7 kB / 472.1 MB, free: 14.39 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.0001736/0.3607, allocations: 117.2 kB / 472.2 MB, free: 14.29 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002367/0.3631, allocations: 1.315 MB / 473.5 MB, free: 13.3 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.371e-05/0.3631, allocations: 13.28 kB / 473.5 MB, free: 13.29 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001438/0.3645, allocations: 0.7491 MB / 474.3 MB, free: 12.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.3656, allocations: 245.5 kB / 474.5 MB, free: 12.61 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0028/0.3684, allocations: 1.599 MB / 476.1 MB, free: 11.6 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005477/0.3689, allocations: 0.9492 MB / 477.1 MB, free: 10.79 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004146/0.3694, allocations: 94.34 kB / 477.2 MB, free: 10.74 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001934/0.3695, allocations: 69.73 kB / 477.2 MB, free: 10.73 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3695, allocations: 3.938 kB / 477.2 MB, free: 10.72 MB / 382.1 MB Notification: Performance of Templates: time 0.03298/0.4025, allocations: 18.76 MB / 496 MB, free: 9.602 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.196670612320304]