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.001633/0.001633, allocations: 109.1 kB / 21.18 MB, free: 0.7852 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.001906/0.001906, allocations: 218 kB / 24.49 MB, free: 4.172 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.456/1.456, allocations: 230.5 MB / 258.1 MB, free: 8.02 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.002064/0.002064, allocations: 67.89 kB / 379 MB, free: 2.512 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2385/0.2406, allocations: 53.41 MB / 432.4 MB, free: 6.762 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.006964/0.2475, allocations: 5.078 MB / 437.5 MB, free: 1.664 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002822/0.2503, allocations: 1.347 MB / 438.9 MB, free: 320 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005661/0.2509, allocations: 11.94 kB / 438.9 MB, free: 308 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005796/0.2515, allocations: 166.5 kB / 439 MB, free: 140 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001015/0.2525, allocations: 333.2 kB / 439.4 MB, free: 15.81 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006012/0.2531, allocations: 239.5 kB / 439.6 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001695/0.2548, allocations: 1.175 MB / 440.8 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004272/0.2552, allocations: 222.3 kB / 441 MB, free: 14.17 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006816/0.2559, allocations: 462.4 kB / 441.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008364/0.2567, allocations: 0.5097 MB / 442 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002335/0.257, allocations: 104 kB / 442.1 MB, free: 13.1 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002487/0.2572, allocations: 104 kB / 442.2 MB, free: 13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002299/0.2575, allocations: 231.2 kB / 442.4 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000686/0.2581, allocations: 0.5133 MB / 442.9 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001469/0.2596, allocations: 1.204 MB / 444.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.2596, allocations: 4 kB / 444.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2596, allocations: 4 kB / 444.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.499e-05/0.2597, allocations: 0 / 444.1 MB, free: 11.04 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.002999/0.2627, allocations: 1.288 MB / 445.4 MB, free: 9.703 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.2627, allocations: 16.03 kB / 445.4 MB, free: 9.688 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000247/0.263, allocations: 112.3 kB / 445.5 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001178/0.2641, allocations: 0.5312 MB / 446.1 MB, free: 9.016 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003283/0.2645, allocations: 297.2 kB / 446.3 MB, free: 8.672 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/0.2646, allocations: 56.12 kB / 446.4 MB, free: 8.617 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001587/0.2662, allocations: 0.8509 MB / 447.2 MB, free: 7.664 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.176e-05/0.2662, allocations: 0 / 447.2 MB, free: 7.664 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.305e-05/0.2663, allocations: 28 kB / 447.3 MB, free: 7.637 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.738e-05/0.2663, allocations: 16 kB / 447.3 MB, free: 7.621 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001481/0.2678, allocations: 0.6024 MB / 447.9 MB, free: 7.016 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.003952/0.2717, allocations: 2.011 MB / 449.9 MB, free: 4.906 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001342/0.273, allocations: 0.5842 MB / 450.5 MB, free: 4.316 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008254/0.2739, allocations: 355.5 kB / 450.8 MB, free: 3.969 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.681e-05/0.2739, allocations: 20.62 kB / 450.9 MB, free: 3.949 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.134e-05/0.274, allocations: 55.16 kB / 450.9 MB, free: 3.883 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.945e-06/0.274, allocations: 0 / 450.9 MB, free: 3.883 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.005239/0.2792, allocations: 1.484 MB / 452.4 MB, free: 2.387 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004823/0.2797, allocations: 0.8234 MB / 453.2 MB, free: 1.367 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/0.2807, allocations: 0.6293 MB / 453.8 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001239/0.2809, allocations: 49.7 kB / 453.9 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000317/0.2812, allocations: 341.4 kB / 454.2 MB, free: 344 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002674/0.2815, allocations: 265.7 kB / 454.5 MB, free: 76 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003036/0.2818, allocations: 146.6 kB / 454.6 MB, free: 15.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002181/0.282, allocations: 382.8 kB / 455 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007108/0.2827, allocations: 273.8 kB / 455.3 MB, free: 15.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009949/0.2837, allocations: 0.5552 MB / 455.8 MB, free: 14.62 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001454/0.2851, allocations: 0.6855 MB / 456.5 MB, free: 13.9 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.2851, allocations: 3.938 kB / 456.5 MB, free: 13.9 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002972/0.2881, allocations: 1.087 MB / 457.6 MB, free: 12.78 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.936e-05/0.2882, allocations: 93.09 kB / 457.7 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.2882, allocations: 0 / 457.7 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007548/0.289, allocations: 235.2 kB / 457.9 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007053/0.2897, allocations: 135.8 kB / 458.1 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009078/0.2987, allocations: 6.524 MB / 464.6 MB, free: 5.312 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009987/0.2997, allocations: 111.4 kB / 464.7 MB, free: 5.203 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001225/0.2999, allocations: 20 kB / 464.7 MB, free: 5.184 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.000481/0.3003, allocations: 217.9 kB / 464.9 MB, free: 4.961 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002268/0.3006, allocations: 87.48 kB / 465 MB, free: 4.875 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002272/0.3008, allocations: 99.33 kB / 465.1 MB, free: 4.77 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.109e-05/0.3008, allocations: 12 kB / 465.1 MB, free: 4.758 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.3008, allocations: 0 / 465.1 MB, free: 4.758 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002728/0.3035, allocations: 1.229 MB / 466.3 MB, free: 3.414 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004458/0.308, allocations: 1.884 MB / 468.2 MB, free: 1.469 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.308, allocations: 4 kB / 468.2 MB, free: 1.465 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007349/0.3087, allocations: 139.8 kB / 468.4 MB, free: 1.328 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005908/0.3093, allocations: 202.5 kB / 468.6 MB, free: 1.121 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.794e-05/0.3094, allocations: 12 kB / 468.6 MB, free: 1.109 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007366/0.3168, allocations: 5.044 MB / 473.6 MB, free: 11.72 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.3168, allocations: 8.156 kB / 473.6 MB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003706/0.3205, allocations: 1.388 MB / 475 MB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005305/0.321, allocations: 159.3 kB / 475.2 MB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002273/0.3212, allocations: 20 kB / 475.2 MB, free: 10.13 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007449/0.322, allocations: 51.94 kB / 475.2 MB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002089/0.3222, allocations: 76.41 kB / 475.3 MB, free: 10 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.441e-05/0.3222, allocations: 16 kB / 475.3 MB, free: 9.988 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006894/0.3229, allocations: 459 kB / 475.8 MB, free: 9.543 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3229, allocations: 0 / 475.8 MB, free: 9.543 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009869/0.3239, allocations: 279.8 kB / 476.1 MB, free: 9.27 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.0002082/0.3241, allocations: 122.8 kB / 476.2 MB, free: 9.141 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002562/0.3267, allocations: 1.32 MB / 477.5 MB, free: 7.727 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.847e-06/0.3267, allocations: 4 kB / 477.5 MB, free: 7.723 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001503/0.3282, allocations: 0.7457 MB / 478.2 MB, free: 6.941 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001301/0.3295, allocations: 238.9 kB / 478.5 MB, free: 6.711 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003402/0.3329, allocations: 1.653 MB / 480.1 MB, free: 5.02 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006801/0.3336, allocations: 0.9401 MB / 481.1 MB, free: 4.055 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002921/0.3339, allocations: 71.42 kB / 481.1 MB, free: 3.984 MB / 382.1 MB Notification: Performance of SimCode: time 1.042e-06/0.3339, allocations: 0 / 481.1 MB, free: 3.984 MB / 382.1 MB Notification: Performance of Templates: time 0.03073/0.3646, allocations: 22.66 MB / 0.492 GB, free: 13.39 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.833986310986802]