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.00166/0.00166, allocations: 112.9 kB / 19.17 MB, free: 3.871 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.00221/0.00221, allocations: 210.5 kB / 22.13 MB, free: 0.918 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.486/1.486, allocations: 230.2 MB / 255.1 MB, free: 15.25 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.001957/0.001957, allocations: 59.91 kB / 374.5 MB, free: 9.953 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1126, allocations: 53.33 MB / 427.8 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.1847/0.2972, allocations: 5.06 MB / 432.9 MB, free: 8.059 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001977/0.2992, allocations: 1.331 MB / 434.2 MB, free: 8.047 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002465/0.2994, allocations: 10.91 kB / 434.2 MB, free: 8.047 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003346/0.2998, allocations: 158.7 kB / 434.4 MB, free: 8.008 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004856/0.3002, allocations: 340.5 kB / 434.7 MB, free: 7.859 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003248/0.3006, allocations: 228.8 kB / 434.9 MB, free: 7.852 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008549/0.3014, allocations: 1.179 MB / 436.1 MB, free: 7.562 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002841/0.3017, allocations: 221 kB / 436.3 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003539/0.3021, allocations: 454.5 kB / 436.8 MB, free: 7.418 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005341/0.3026, allocations: 0.5048 MB / 437.3 MB, free: 7.316 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001522/0.3028, allocations: 103.9 kB / 437.4 MB, free: 7.316 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001847/0.3029, allocations: 109.2 kB / 437.5 MB, free: 7.316 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001651/0.3031, allocations: 226.2 kB / 437.7 MB, free: 7.176 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004112/0.3035, allocations: 0.5201 MB / 438.2 MB, free: 6.875 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001145/0.3047, allocations: 1.208 MB / 439.4 MB, free: 6.426 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3047, allocations: 1.156 kB / 439.4 MB, free: 6.426 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3047, allocations: 0 / 439.4 MB, free: 6.426 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.646e-05/0.3047, allocations: 0.8438 kB / 439.4 MB, free: 6.426 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.002208/0.3069, allocations: 1.364 MB / 440.8 MB, free: 5.477 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.3069, allocations: 9.406 kB / 440.8 MB, free: 5.477 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001896/0.3071, allocations: 116.2 kB / 440.9 MB, free: 5.422 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009893/0.3081, allocations: 0.5959 MB / 441.5 MB, free: 5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001756/0.3083, allocations: 138 kB / 441.7 MB, free: 4.891 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.577e-05/0.3084, allocations: 62.66 kB / 441.7 MB, free: 4.867 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001336/0.3097, allocations: 0.8513 MB / 442.6 MB, free: 4.332 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.108e-05/0.3097, allocations: 0 / 442.6 MB, free: 4.332 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.562e-05/0.3098, allocations: 24.5 kB / 442.6 MB, free: 4.316 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.39e-05/0.3098, allocations: 13.22 kB / 442.6 MB, free: 4.316 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00139/0.3112, allocations: 0.5996 MB / 443.2 MB, free: 4.129 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.003261/0.3145, allocations: 2.055 MB / 445.3 MB, free: 2.941 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00126/0.3157, allocations: 0.8065 MB / 446.1 MB, free: 2.434 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007498/0.3165, allocations: 356.5 kB / 446.4 MB, free: 2.309 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.963e-05/0.3165, allocations: 15.48 kB / 446.4 MB, free: 2.309 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/0.3166, allocations: 50.58 kB / 446.5 MB, free: 2.258 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.194e-06/0.3166, allocations: 0 / 446.5 MB, free: 2.258 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004939/0.3215, allocations: 1.801 MB / 448.3 MB, free: 1.418 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001366/0.3216, allocations: 0.8221 MB / 449.1 MB, free: 424 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000717/0.3224, allocations: 0.6308 MB / 449.7 MB, free: 132 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.497e-05/0.3224, allocations: 45.58 kB / 449.8 MB, free: 88 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003232/0.3227, allocations: 343.8 kB / 450.1 MB, free: 15.83 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002385/0.323, allocations: 263.7 kB / 450.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002552/0.3232, allocations: 151.4 kB / 450.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002038/0.3234, allocations: 389.6 kB / 450.9 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006924/0.3241, allocations: 271.2 kB / 451.2 MB, free: 15.12 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009663/0.3251, allocations: 0.5497 MB / 451.7 MB, free: 14.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001406/0.3265, allocations: 0.6821 MB / 452.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.3265, allocations: 0 / 452.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002688/0.3292, allocations: 1.09 MB / 453.5 MB, free: 13.87 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.861e-05/0.3293, allocations: 89.11 kB / 453.6 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.3293, allocations: 0.6562 kB / 453.6 MB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006949/0.33, allocations: 230.9 kB / 453.8 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006026/0.3306, allocations: 146 kB / 454 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008549/0.3391, allocations: 6.931 MB / 460.9 MB, free: 7.391 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009646/0.3401, allocations: 107.4 kB / 461 MB, free: 7.34 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-05/0.3401, allocations: 24.12 kB / 461 MB, free: 7.332 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.0004102/0.3406, allocations: 223.2 kB / 461.2 MB, free: 7.156 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001662/0.3407, allocations: 89.86 kB / 461.3 MB, free: 7.113 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001951/0.3409, allocations: 84.55 kB / 461.4 MB, free: 7.047 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.3409, allocations: 9.703 kB / 461.4 MB, free: 7.047 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.083e-05/0.3409, allocations: 0 / 461.4 MB, free: 7.047 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002612/0.3435, allocations: 1.238 MB / 462.6 MB, free: 6.242 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004097/0.3476, allocations: 1.928 MB / 464.6 MB, free: 5.008 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-06/0.3476, allocations: 0 / 464.6 MB, free: 5.008 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006777/0.3483, allocations: 140.2 kB / 464.7 MB, free: 4.973 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005602/0.3489, allocations: 195.1 kB / 464.9 MB, free: 4.871 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.244e-05/0.3489, allocations: 20.8 kB / 464.9 MB, free: 4.855 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007115/0.3561, allocations: 5.347 MB / 470.3 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/0.3561, allocations: 0 / 470.3 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003555/0.3596, allocations: 1.388 MB / 471.7 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005093/0.3601, allocations: 253.2 kB / 471.9 MB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001213/0.3602, allocations: 19.62 kB / 471.9 MB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006716/0.3609, allocations: 48.52 kB / 472 MB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001907/0.3611, allocations: 62.12 kB / 472 MB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-05/0.3611, allocations: 16.31 kB / 472 MB, free: 14.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006036/0.3618, allocations: 461.4 kB / 472.5 MB, free: 14.47 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3618, allocations: 0 / 472.5 MB, free: 14.47 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009076/0.3627, allocations: 285.8 kB / 472.8 MB, free: 14.42 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.0001826/0.3628, allocations: 125.1 kB / 472.9 MB, free: 14.31 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002392/0.3652, allocations: 1.318 MB / 474.2 MB, free: 13.32 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.3652, allocations: 2.219 kB / 474.2 MB, free: 13.32 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001431/0.3667, allocations: 0.7422 MB / 475 MB, free: 12.78 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001064/0.3677, allocations: 246.2 kB / 475.2 MB, free: 12.65 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002912/0.3706, allocations: 1.652 MB / 476.9 MB, free: 11.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005768/0.3712, allocations: 0.943 MB / 477.8 MB, free: 10.79 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002418/0.3715, allocations: 67.84 kB / 477.9 MB, free: 10.77 MB / 382.1 MB Notification: Performance of SimCode: time 1.082e-06/0.3715, allocations: 0 / 477.9 MB, free: 10.77 MB / 382.1 MB Notification: Performance of Templates: time 0.02885/0.4003, allocations: 22.66 MB / 0.4888 GB, free: 5.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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TwoMass/TwoMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.555842882022262]