Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 108.8 kB / 21.18 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 189.2 kB / 24.48 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 225.6 MB / 253.3 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001738/0.001738, allocations: 55.91 kB / 371.7 MB, free: 9.348 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2707/0.2725, allocations: 52.18 MB / 423.9 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.005563/0.278, allocations: 3.707 MB / 427.6 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002019/0.28, allocations: 0.9852 MB / 428.6 MB, free: 9.953 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002447/0.2803, allocations: 11.94 kB / 428.6 MB, free: 9.941 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003692/0.2807, allocations: 103.1 kB / 428.7 MB, free: 9.84 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004485/0.2811, allocations: 210.3 kB / 428.9 MB, free: 9.633 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003255/0.2814, allocations: 127.8 kB / 429 MB, free: 9.508 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008781/0.2823, allocations: 0.6883 MB / 429.7 MB, free: 8.82 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002763/0.2826, allocations: 126.8 kB / 429.8 MB, free: 8.691 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000325/0.2829, allocations: 259.1 kB / 430.1 MB, free: 8.438 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003907/0.2833, allocations: 302.7 kB / 430.4 MB, free: 8.141 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.696e-05/0.2834, allocations: 56 kB / 430.4 MB, free: 8.086 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/0.2835, allocations: 60 kB / 430.5 MB, free: 8.027 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001236/0.2836, allocations: 119.6 kB / 430.6 MB, free: 7.91 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003222/0.2839, allocations: 318.5 kB / 430.9 MB, free: 7.598 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008292/0.2848, allocations: 0.6937 MB / 431.6 MB, free: 6.906 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2848, allocations: 4 kB / 431.6 MB, free: 6.902 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.2848, allocations: 0 / 431.6 MB, free: 6.902 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.2848, allocations: 0 / 431.6 MB, free: 6.902 MB / 334.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.001667/0.2865, allocations: 0.8371 MB / 432.4 MB, free: 6.023 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.2865, allocations: 8.031 kB / 432.4 MB, free: 6.016 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001354/0.2866, allocations: 68.56 kB / 432.5 MB, free: 5.949 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007907/0.2874, allocations: 377 kB / 432.9 MB, free: 5.555 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001419/0.2876, allocations: 110.2 kB / 433 MB, free: 5.43 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.846e-05/0.2876, allocations: 36.38 kB / 433 MB, free: 5.395 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000918/0.2886, allocations: 489 kB / 433.5 MB, free: 4.867 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.542e-05/0.2886, allocations: 3.938 kB / 433.5 MB, free: 4.863 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.063e-05/0.2886, allocations: 16 kB / 433.5 MB, free: 4.848 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.039e-05/0.2886, allocations: 8 kB / 433.5 MB, free: 4.84 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009066/0.2895, allocations: 338.3 kB / 433.9 MB, free: 4.508 MB / 334.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.002217/0.2917, allocations: 1.24 MB / 435.1 MB, free: 3.184 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006926/0.2924, allocations: 282.6 kB / 435.4 MB, free: 2.902 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004097/0.2928, allocations: 172.7 kB / 435.5 MB, free: 2.73 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.616e-05/0.2929, allocations: 16.55 kB / 435.6 MB, free: 2.715 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.553e-05/0.2929, allocations: 38.56 kB / 435.6 MB, free: 2.668 MB / 334.1 MB Notification: Performance of pre-optimization done (n=35): time 1.623e-06/0.2929, allocations: 0 / 435.6 MB, free: 2.668 MB / 334.1 MB Notification: Performance of matching and sorting (n=35): time 0.001562/0.2945, allocations: 0.5726 MB / 436.2 MB, free: 2.082 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002815/0.2948, allocations: 452.9 kB / 436.6 MB, free: 1.535 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005651/0.2953, allocations: 458 kB / 437.1 MB, free: 1.082 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.242e-05/0.2954, allocations: 33.7 kB / 437.1 MB, free: 1.043 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002059/0.2956, allocations: 240.6 kB / 437.3 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001078/0.2957, allocations: 122.9 kB / 437.5 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001472/0.2958, allocations: 81.64 kB / 437.5 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001835/0.296, allocations: 358.7 kB / 437.9 MB, free: 244 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004039/0.2964, allocations: 139.9 kB / 438 MB, free: 104 kB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005338/0.297, allocations: 286.8 kB / 438.3 MB, free: 15.76 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007636/0.2977, allocations: 341.1 kB / 438.6 MB, free: 15.42 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2977, allocations: 0 / 438.6 MB, free: 15.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009993/0.2987, allocations: 482.1 kB / 439.1 MB, free: 14.93 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.309e-05/0.2988, allocations: 33.69 kB / 439.1 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.2988, allocations: 8.031 kB / 439.1 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001743/0.2989, allocations: 49.64 kB / 439.2 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004084/0.2994, allocations: 79.94 kB / 439.3 MB, free: 14.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002723/0.3021, allocations: 2.758 MB / 442 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004292/0.3025, allocations: 55.75 kB / 442.1 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.225e-05/0.3025, allocations: 15.92 kB / 442.1 MB, free: 11.69 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.0002262/0.3028, allocations: 173.8 kB / 442.3 MB, free: 11.51 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.668e-05/0.3029, allocations: 51.67 kB / 442.3 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001011/0.303, allocations: 52.77 kB / 442.4 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.838e-06/0.303, allocations: 7.984 kB / 442.4 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.303, allocations: 4 kB / 442.4 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001022/0.304, allocations: 0.7244 MB / 443.1 MB, free: 10.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001655/0.3057, allocations: 0.9731 MB / 444.1 MB, free: 9.539 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.3057, allocations: 0 / 444.1 MB, free: 9.539 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004348/0.3061, allocations: 99.88 kB / 444.2 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.3061, allocations: 0 / 444.2 MB, free: 9.441 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.679e-05/0.3061, allocations: 11.94 kB / 444.2 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.614e-06/0.3061, allocations: 0 / 444.2 MB, free: 9.43 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.3061, allocations: 7.875 kB / 444.2 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001262/0.3074, allocations: 0.6445 MB / 444.8 MB, free: 8.762 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002044/0.3076, allocations: 95.52 kB / 444.9 MB, free: 8.668 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.938e-05/0.3077, allocations: 15.88 kB / 444.9 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000378/0.308, allocations: 31.97 kB / 445 MB, free: 8.621 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.098e-05/0.3081, allocations: 28.02 kB / 445 MB, free: 8.594 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.197e-05/0.3081, allocations: 11.98 kB / 445 MB, free: 8.582 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003997/0.3085, allocations: 323.1 kB / 445.3 MB, free: 8.266 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3085, allocations: 0 / 445.3 MB, free: 8.266 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004478/0.309, allocations: 135.9 kB / 445.5 MB, free: 8.133 MB / 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.0001395/0.3091, allocations: 107.5 kB / 445.6 MB, free: 8.02 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00122/0.3103, allocations: 0.6258 MB / 446.2 MB, free: 7.355 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.3103, allocations: 4 kB / 446.2 MB, free: 7.352 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004024/0.3107, allocations: 167.6 kB / 446.4 MB, free: 7.188 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006602/0.3114, allocations: 142 kB / 446.5 MB, free: 7.051 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00173/0.3131, allocations: 0.9674 MB / 447.5 MB, free: 6.043 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000483/0.3136, allocations: 0.8311 MB / 448.3 MB, free: 5.184 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001427/0.3138, allocations: 43.44 kB / 448.3 MB, free: 5.141 MB / 350.1 MB Notification: Performance of SimCode: time 8.91e-07/0.3138, allocations: 0 / 448.3 MB, free: 5.141 MB / 350.1 MB Notification: Performance of Templates: time 0.01293/0.3267, allocations: 8.95 MB / 457.3 MB, free: 12.25 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.067582182120532]