Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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.001375/0.001375, 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.001568/0.001568, allocations: 217.8 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.46/1.46, allocations: 230.5 MB / 258.1 MB, free: 8.016 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.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002063/0.002063, allocations: 59.91 kB / 379 MB, free: 2.523 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.2644, allocations: 53.41 MB / 432.4 MB, free: 6.781 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.005416/0.2698, allocations: 3.716 MB / 436.1 MB, free: 3.055 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002035/0.2719, allocations: 1.016 MB / 437.2 MB, free: 2.031 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002303/0.2721, allocations: 7.938 kB / 437.2 MB, free: 2.023 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003698/0.2725, allocations: 115 kB / 437.3 MB, free: 1.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004611/0.2729, allocations: 202.3 kB / 437.5 MB, free: 1.711 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003379/0.2733, allocations: 135.7 kB / 437.6 MB, free: 1.578 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008065/0.2741, allocations: 0.688 MB / 438.3 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002595/0.2743, allocations: 130.9 kB / 438.4 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003062/0.2746, allocations: 259.1 kB / 438.7 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003951/0.275, allocations: 298.8 kB / 439 MB, free: 216 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.062e-05/0.2751, allocations: 56 kB / 439 MB, free: 160 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.93e-05/0.2752, allocations: 56 kB / 439.1 MB, free: 104 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001471/0.2754, allocations: 131.6 kB / 439.2 MB, free: 15.97 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003257/0.2757, allocations: 310.5 kB / 439.5 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008463/0.2765, allocations: 0.7015 MB / 440.2 MB, free: 14.97 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.2765, allocations: 0 / 440.2 MB, free: 14.97 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.2765, allocations: 0 / 440.2 MB, free: 14.97 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.357e-06/0.2765, allocations: 0 / 440.2 MB, free: 14.97 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001666/0.2782, allocations: 0.8333 MB / 441 MB, free: 14.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.2783, allocations: 8.031 kB / 441.1 MB, free: 14.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001332/0.2784, allocations: 68.52 kB / 441.1 MB, free: 14.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008113/0.2792, allocations: 373.1 kB / 441.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001491/0.2793, allocations: 114.3 kB / 441.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.534e-05/0.2794, allocations: 28.38 kB / 441.6 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009001/0.2803, allocations: 493 kB / 442.1 MB, free: 12.94 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.2803, allocations: 3.953 kB / 442.1 MB, free: 12.94 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.32e-05/0.2804, allocations: 20 kB / 442.1 MB, free: 12.92 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.756e-06/0.2804, allocations: 4 kB / 442.1 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008726/0.2813, allocations: 338.4 kB / 442.5 MB, free: 12.58 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.002154/0.2834, allocations: 1.237 MB / 443.7 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007096/0.2841, allocations: 286.4 kB / 444 MB, free: 10.97 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003941/0.2845, allocations: 168.6 kB / 444.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.158e-05/0.2846, allocations: 7.984 kB / 444.2 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.336e-05/0.2846, allocations: 38.56 kB / 444.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.793e-06/0.2846, allocations: 0 / 444.2 MB, free: 10.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.001562/0.2862, allocations: 0.5788 MB / 444.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002531/0.2864, allocations: 449 kB / 445.2 MB, free: 9.617 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006272/0.287, allocations: 454 kB / 445.7 MB, free: 9.168 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.438e-05/0.2871, allocations: 33.7 kB / 445.7 MB, free: 9.129 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002118/0.2873, allocations: 252.6 kB / 445.9 MB, free: 8.879 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/0.2874, allocations: 118.9 kB / 446 MB, free: 8.762 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001368/0.2875, allocations: 81.47 kB / 446.1 MB, free: 8.676 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001934/0.2877, allocations: 362.7 kB / 446.5 MB, free: 8.312 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003743/0.2881, allocations: 139.9 kB / 446.6 MB, free: 8.176 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005109/0.2886, allocations: 290.8 kB / 446.9 MB, free: 7.836 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007591/0.2894, allocations: 333.2 kB / 447.2 MB, free: 7.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.2894, allocations: 4 kB / 447.2 MB, free: 7.496 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001025/0.2904, allocations: 490 kB / 447.7 MB, free: 7 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.347e-05/0.2905, allocations: 33.69 kB / 447.7 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.2905, allocations: 32 / 447.7 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001753/0.2906, allocations: 53.7 kB / 447.8 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004206/0.2911, allocations: 79.88 kB / 447.9 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003089/0.2942, allocations: 2.762 MB / 450.6 MB, free: 3.824 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004476/0.2946, allocations: 51.8 kB / 450.7 MB, free: 3.773 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.411e-05/0.2946, allocations: 23.92 kB / 450.7 MB, free: 3.75 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002448/0.2949, allocations: 169.8 kB / 450.9 MB, free: 3.574 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.376e-05/0.295, allocations: 55.67 kB / 450.9 MB, free: 3.52 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001016/0.2951, allocations: 52.75 kB / 451 MB, free: 3.469 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.2951, allocations: 4 kB / 451 MB, free: 3.465 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.2951, allocations: 0 / 451 MB, free: 3.465 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001055/0.2961, allocations: 0.7271 MB / 451.7 MB, free: 2.633 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001739/0.2979, allocations: 0.9735 MB / 452.7 MB, free: 1.605 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.2979, allocations: 0 / 452.7 MB, free: 1.605 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004586/0.2983, allocations: 99.81 kB / 452.8 MB, free: 1.508 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.2983, allocations: 4 kB / 452.8 MB, free: 1.504 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.467e-05/0.2984, allocations: 7.938 kB / 452.8 MB, free: 1.496 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.649e-06/0.2984, allocations: 4 kB / 452.8 MB, free: 1.492 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.2984, allocations: 0 / 452.8 MB, free: 1.492 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001292/0.2997, allocations: 0.6525 MB / 453.5 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002108/0.2999, allocations: 95.52 kB / 453.5 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.158e-05/0.2999, allocations: 15.94 kB / 453.6 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003667/0.3003, allocations: 23.97 kB / 453.6 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.353e-05/0.3004, allocations: 32.02 kB / 453.6 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.125e-05/0.3004, allocations: 11.98 kB / 453.6 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004559/0.3009, allocations: 319.1 kB / 453.9 MB, free: 344 kB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3009, allocations: 0 / 453.9 MB, free: 344 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004691/0.3013, allocations: 139.8 kB / 454.1 MB, free: 204 kB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.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 (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001552/0.3015, allocations: 111.2 kB / 454.2 MB, free: 84 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001277/0.3028, allocations: 0.6136 MB / 454.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.3028, allocations: 0 / 454.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004129/0.3032, allocations: 167.8 kB / 455 MB, free: 15.27 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007056/0.3039, allocations: 148.4 kB / 455.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001845/0.3057, allocations: 0.9683 MB / 456.1 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000485/0.3062, allocations: 0.8313 MB / 456.9 MB, free: 13.26 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001492/0.3064, allocations: 51.38 kB / 457 MB, free: 13.21 MB / 366.1 MB Notification: Performance of SimCode: time 1.032e-06/0.3064, allocations: 0 / 457 MB, free: 13.21 MB / 366.1 MB Notification: Performance of Templates: time 0.01395/0.3203, allocations: 8.95 MB / 465.9 MB, free: 4.324 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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: 8.144081416074187]