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.0008226/0.0008226, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 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.003565/0.003565, allocations: 160.2 kB / 24.7 MB, free: 9.441 MB / 18.57 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 0.852/0.852, allocations: 177 MB / 204.9 MB, free: 5.707 MB / 186.7 MB " [Timeout remaining time 179] 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 1.893e-06/1.893e-06, allocations: 0 / 325.8 MB, free: 15.38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.326e-05/2.516e-05, allocations: 11.77 kB / 325.8 MB, free: 15.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.004191/0.004216, allocations: 3.381 MB / 329.1 MB, free: 11.96 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001624/0.00584, allocations: 0.9618 MB / 330.1 MB, free: 11 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001945/0.006035, allocations: 7.938 kB / 330.1 MB, free: 10.99 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000308/0.006342, allocations: 107.1 kB / 330.2 MB, free: 10.88 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004052/0.006748, allocations: 214.2 kB / 330.4 MB, free: 10.67 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002767/0.007024, allocations: 135.7 kB / 330.6 MB, free: 10.54 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007253/0.00775, allocations: 0.7116 MB / 331.3 MB, free: 9.824 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002278/0.007978, allocations: 130.9 kB / 331.4 MB, free: 9.699 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000388/0.008366, allocations: 383.2 kB / 331.8 MB, free: 9.324 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002609/0.008626, allocations: 223.4 kB / 332 MB, free: 9.105 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.226e-05/0.008709, allocations: 56 kB / 332 MB, free: 9.051 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.283e-05/0.008782, allocations: 60 kB / 332.1 MB, free: 8.992 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.333e-05/0.008865, allocations: 123.5 kB / 332.2 MB, free: 8.871 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001849/0.00905, allocations: 223.5 kB / 332.4 MB, free: 8.652 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006754/0.009725, allocations: 0.7126 MB / 333.2 MB, free: 7.938 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.009728, allocations: 3.938 kB / 333.2 MB, free: 7.934 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.009729, allocations: 0 / 333.2 MB, free: 7.934 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.00974, allocations: 0 / 333.2 MB, free: 7.934 MB / 298.7 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.001321/0.01106, allocations: 0.8255 MB / 334 MB, free: 7.066 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.0111, allocations: 15.97 kB / 334 MB, free: 7.051 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001069/0.0112, allocations: 76.52 kB / 334.1 MB, free: 6.977 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005711/0.01178, allocations: 368.3 kB / 334.4 MB, free: 6.59 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.77e-05/0.01187, allocations: 110.3 kB / 334.5 MB, free: 6.465 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.01e-05/0.01192, allocations: 28.38 kB / 334.6 MB, free: 6.438 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008377/0.01276, allocations: 0.8506 MB / 335.4 MB, free: 5.441 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.01278, allocations: 8.125 kB / 335.4 MB, free: 5.434 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.703e-05/0.01282, allocations: 24.11 kB / 335.5 MB, free: 5.41 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.01284, allocations: 12 kB / 335.5 MB, free: 5.398 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006836/0.01352, allocations: 330.4 kB / 335.8 MB, free: 5.074 MB / 298.7 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.00156/0.01508, allocations: 0.9518 MB / 336.7 MB, free: 4.086 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005506/0.01563, allocations: 282 kB / 337 MB, free: 3.801 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002395/0.01587, allocations: 168.8 kB / 337.2 MB, free: 3.633 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.868e-05/0.0159, allocations: 11.94 kB / 337.2 MB, free: 3.621 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.01592, allocations: 46.48 kB / 337.2 MB, free: 3.566 MB / 298.7 MB Notification: Performance of pre-optimization done (n=35): time 1.753e-06/0.01592, allocations: 0 / 337.2 MB, free: 3.566 MB / 298.7 MB Notification: Performance of matching and sorting (n=35): time 0.0008729/0.0168, allocations: 0.5716 MB / 337.8 MB, free: 2.984 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001212/0.01692, allocations: 445 kB / 338.2 MB, free: 2.445 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003065/0.01723, allocations: 426 kB / 338.7 MB, free: 2.016 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/0.01725, allocations: 37.7 kB / 338.7 MB, free: 1.973 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.01737, allocations: 248.5 kB / 338.9 MB, free: 1.727 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.539e-05/0.01744, allocations: 126.8 kB / 339.1 MB, free: 1.602 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.849e-05/0.01752, allocations: 77.69 kB / 339.1 MB, free: 1.52 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.623e-05/0.01762, allocations: 358.8 kB / 339.5 MB, free: 1.16 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000213/0.01783, allocations: 169.6 kB / 339.7 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003875/0.01822, allocations: 0.6739 MB / 340.3 MB, free: 164 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004268/0.01865, allocations: 341.1 kB / 340.7 MB, free: 15.82 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.01865, allocations: 0 / 340.7 MB, free: 15.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0005515/0.0192, allocations: 0.5036 MB / 341.2 MB, free: 15.29 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.623e-05/0.01923, allocations: 33.7 kB / 341.2 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.01923, allocations: 0 / 341.2 MB, free: 15.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000115/0.01935, allocations: 57.66 kB / 341.3 MB, free: 15.19 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002015/0.01955, allocations: 79.89 kB / 341.3 MB, free: 15.11 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001413/0.02096, allocations: 2.697 MB / 344 MB, free: 12.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001821/0.02114, allocations: 43.84 kB / 344.1 MB, free: 12.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.792e-05/0.02116, allocations: 12 kB / 344.1 MB, free: 12.15 MB / 314.7 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.0001333/0.0213, allocations: 173.8 kB / 344.3 MB, free: 11.97 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.9e-05/0.02134, allocations: 55.61 kB / 344.3 MB, free: 11.91 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.084e-05/0.0214, allocations: 52.58 kB / 344.4 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.0214, allocations: 8 kB / 344.4 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.0214, allocations: 0 / 344.4 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005247/0.02193, allocations: 0.7271 MB / 345.1 MB, free: 11.02 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000873/0.0228, allocations: 0.8609 MB / 346 MB, free: 10.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.0228, allocations: 0 / 346 MB, free: 10.12 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002065/0.02301, allocations: 83.88 kB / 346 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.02301, allocations: 4 kB / 346 MB, free: 10.03 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.02302, allocations: 7.984 kB / 346.1 MB, free: 10.02 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.02303, allocations: 0 / 346.1 MB, free: 10.02 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.02303, allocations: 4 kB / 346.1 MB, free: 10.02 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006881/0.02372, allocations: 0.6523 MB / 346.7 MB, free: 9.352 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/0.02383, allocations: 87.62 kB / 346.8 MB, free: 9.266 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.266e-05/0.02386, allocations: 12 kB / 346.8 MB, free: 9.254 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001658/0.02402, allocations: 28.03 kB / 346.8 MB, free: 9.227 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.657e-05/0.02407, allocations: 23.95 kB / 346.9 MB, free: 9.203 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.02408, allocations: 12 kB / 346.9 MB, free: 9.191 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000206/0.02429, allocations: 303.1 kB / 347.2 MB, free: 8.895 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02429, allocations: 0 / 347.2 MB, free: 8.895 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002675/0.02456, allocations: 139.8 kB / 347.3 MB, free: 8.758 MB / 314.7 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 9.038e-05/0.02465, allocations: 103.2 kB / 347.4 MB, free: 8.648 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006717/0.02532, allocations: 0.6543 MB / 348.1 MB, free: 7.949 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.02532, allocations: 0 / 348.1 MB, free: 7.949 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002088/0.02553, allocations: 159.7 kB / 348.2 MB, free: 7.793 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003759/0.0259, allocations: 156.8 kB / 348.4 MB, free: 7.645 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009535/0.02686, allocations: 0.885 MB / 349.2 MB, free: 6.727 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001264/0.02698, allocations: 224.5 kB / 349.5 MB, free: 6.48 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.478e-05/0.02708, allocations: 44.5 kB / 349.5 MB, free: 6.438 MB / 314.7 MB Notification: Performance of SimCode: time 5.01e-07/0.02708, allocations: 0 / 349.5 MB, free: 6.438 MB / 314.7 MB Notification: Performance of Templates: time 0.006626/0.03371, allocations: 8.998 MB / 358.5 MB, free: 13.5 MB / 330.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","/var/lib/jenkins/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: 4.740115890279412]