Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001718/0.001718, allocations: 112.5 kB / 18.45 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002031/0.002031, allocations: 207.3 kB / 21.41 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.501/1.501, allocations: 230.6 MB / 254.8 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 51.91 kB / 374.1 MB, free: 9.723 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1089, allocations: 53.34 MB / 427.5 MB, free: 4.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.1852/0.2942, allocations: 5.054 MB / 432.5 MB, free: 8.039 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002294/0.2965, allocations: 1.342 MB / 433.9 MB, free: 8.023 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005125/0.297, allocations: 15.38 kB / 433.9 MB, free: 8.023 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003965/0.2974, allocations: 159.1 kB / 434.1 MB, free: 7.961 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006186/0.298, allocations: 332.6 kB / 434.4 MB, free: 7.816 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004139/0.2984, allocations: 231.3 kB / 434.6 MB, free: 7.809 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000894/0.2993, allocations: 1.178 MB / 435.8 MB, free: 7.504 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000293/0.2996, allocations: 223.1 kB / 436 MB, free: 7.445 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004449/0.3, allocations: 461.1 kB / 436.5 MB, free: 7.359 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005678/0.3006, allocations: 0.5122 MB / 437 MB, free: 7.23 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001446/0.3008, allocations: 103.8 kB / 437.1 MB, free: 7.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001771/0.3009, allocations: 109.5 kB / 437.2 MB, free: 7.227 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001573/0.3011, allocations: 223.8 kB / 437.4 MB, free: 7.082 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004091/0.3015, allocations: 0.5162 MB / 437.9 MB, free: 6.785 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001162/0.3027, allocations: 1.206 MB / 439.1 MB, free: 6.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3027, allocations: 0 / 439.1 MB, free: 6.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3027, allocations: 3.938 kB / 439.1 MB, free: 6.336 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.621e-05/0.3027, allocations: 1.156 kB / 439.1 MB, free: 6.336 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.002262/0.3049, allocations: 1.365 MB / 440.5 MB, free: 5.387 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.305, allocations: 9.062 kB / 440.5 MB, free: 5.387 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001914/0.3052, allocations: 114.4 kB / 440.6 MB, free: 5.332 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008813/0.306, allocations: 0.5948 MB / 441.2 MB, free: 4.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001677/0.3062, allocations: 145.7 kB / 441.3 MB, free: 4.793 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.911e-05/0.3063, allocations: 59.38 kB / 441.4 MB, free: 4.773 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001302/0.3076, allocations: 0.8463 MB / 442.2 MB, free: 4.242 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/0.3076, allocations: 0 / 442.2 MB, free: 4.242 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.606e-05/0.3077, allocations: 28.38 kB / 442.3 MB, free: 4.223 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.41e-05/0.3077, allocations: 13.59 kB / 442.3 MB, free: 4.223 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001397/0.3091, allocations: 0.5993 MB / 442.9 MB, free: 4.043 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.003159/0.3123, allocations: 2.056 MB / 444.9 MB, free: 2.855 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001235/0.3135, allocations: 0.8013 MB / 445.7 MB, free: 2.352 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007507/0.3142, allocations: 354.7 kB / 446.1 MB, free: 2.227 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.947e-05/0.3143, allocations: 21.06 kB / 446.1 MB, free: 2.223 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.3143, allocations: 46.89 kB / 446.2 MB, free: 2.176 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.685e-06/0.3143, allocations: 0 / 446.2 MB, free: 2.176 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.005052/0.3194, allocations: 1.802 MB / 448 MB, free: 1.332 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001242/0.3195, allocations: 0.8225 MB / 448.8 MB, free: 336 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000742/0.3203, allocations: 0.6347 MB / 449.4 MB, free: 40 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.512e-05/0.3203, allocations: 40.86 kB / 449.5 MB, free: 0 / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000319/0.3207, allocations: 342.9 kB / 449.8 MB, free: 15.73 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000251/0.3209, allocations: 262.2 kB / 450 MB, free: 15.53 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002589/0.3212, allocations: 148.9 kB / 450.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002201/0.3214, allocations: 388.4 kB / 450.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007013/0.3221, allocations: 271 kB / 450.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009879/0.3231, allocations: 0.5517 MB / 451.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001493/0.3246, allocations: 0.6862 MB / 452.1 MB, free: 14.25 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.3246, allocations: 0 / 452.1 MB, free: 14.25 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00283/0.3274, allocations: 1.088 MB / 453.2 MB, free: 13.77 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.099e-05/0.3275, allocations: 84.95 kB / 453.2 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.3275, allocations: 1.312 kB / 453.2 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007685/0.3282, allocations: 230.7 kB / 453.5 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006502/0.3289, allocations: 143.2 kB / 453.6 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008817/0.3377, allocations: 6.936 MB / 460.5 MB, free: 7.289 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001099/0.3388, allocations: 107.8 kB / 460.7 MB, free: 7.238 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.246e-05/0.3389, allocations: 21.64 kB / 460.7 MB, free: 7.234 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.0004298/0.3393, allocations: 224.5 kB / 460.9 MB, free: 7.055 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000175/0.3395, allocations: 88.7 kB / 461 MB, free: 7.012 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002034/0.3397, allocations: 91.61 kB / 461.1 MB, free: 6.941 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.3397, allocations: 7.844 kB / 461.1 MB, free: 6.941 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.3397, allocations: 1.359 kB / 461.1 MB, free: 6.941 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002721/0.3424, allocations: 1.231 MB / 462.3 MB, free: 6.145 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004194/0.3466, allocations: 1.92 MB / 464.2 MB, free: 4.895 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.233e-06/0.3466, allocations: 3.984 kB / 464.2 MB, free: 4.891 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000699/0.3473, allocations: 140.4 kB / 464.4 MB, free: 4.855 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006056/0.3479, allocations: 201 kB / 464.6 MB, free: 4.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.036e-05/0.348, allocations: 11.53 kB / 464.6 MB, free: 4.742 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007428/0.3554, allocations: 5.353 MB / 469.9 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3554, allocations: 5.375 kB / 469.9 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003789/0.3592, allocations: 1.388 MB / 471.3 MB, free: 14.91 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006004/0.3598, allocations: 246.3 kB / 471.6 MB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001405/0.3599, allocations: 18.91 kB / 471.6 MB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006991/0.3606, allocations: 48.59 kB / 471.6 MB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001964/0.3608, allocations: 62.14 kB / 471.7 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-05/0.3609, allocations: 20.7 kB / 471.7 MB, free: 14.61 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006377/0.3615, allocations: 452.1 kB / 472.2 MB, free: 14.35 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3615, allocations: 1.688 kB / 472.2 MB, free: 14.35 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00099/0.3625, allocations: 288.8 kB / 472.4 MB, free: 14.3 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.0002139/0.3627, allocations: 127.7 kB / 472.6 MB, free: 14.19 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002572/0.3653, allocations: 1.31 MB / 473.9 MB, free: 13.2 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.3653, allocations: 2.219 kB / 473.9 MB, free: 13.2 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001537/0.3668, allocations: 0.7491 MB / 474.6 MB, free: 12.65 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001331/0.3682, allocations: 247.6 kB / 474.9 MB, free: 12.52 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003157/0.3713, allocations: 1.647 MB / 476.5 MB, free: 11.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000613/0.3719, allocations: 0.9421 MB / 477.5 MB, free: 10.66 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002803/0.3722, allocations: 70.08 kB / 477.5 MB, free: 10.65 MB / 382.1 MB Notification: Performance of SimCode: time 1.172e-06/0.3722, allocations: 0 / 477.5 MB, free: 10.65 MB / 382.1 MB Notification: Performance of Templates: time 0.03062/0.4028, allocations: 22.67 MB / 0.4885 GB, free: 5.414 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.938306584983366]