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.001455/0.001455, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.001457/0.001457, allocations: 209.2 kB / 23.73 MB, free: 4.387 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.461/1.461, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.001713/0.001713, allocations: 43.92 kB / 378.2 MB, free: 2.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2231/0.2248, allocations: 53.36 MB / 431.6 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.006332/0.2311, allocations: 4.526 MB / 436.1 MB, free: 2.168 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002727/0.2338, allocations: 1.292 MB / 437.4 MB, free: 0.875 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003416/0.2342, allocations: 11.94 kB / 437.4 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004304/0.2346, allocations: 158.6 kB / 437.6 MB, free: 0.707 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000659/0.2353, allocations: 337.2 kB / 437.9 MB, free: 384 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004466/0.2357, allocations: 227.6 kB / 438.1 MB, free: 156 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001348/0.2371, allocations: 1.179 MB / 439.3 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003602/0.2374, allocations: 210.6 kB / 439.5 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005367/0.2379, allocations: 462.4 kB / 439.9 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005685/0.2385, allocations: 445.9 kB / 440.4 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001552/0.2387, allocations: 104 kB / 440.5 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001832/0.2389, allocations: 108 kB / 440.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001945/0.2391, allocations: 223.2 kB / 440.8 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004533/0.2395, allocations: 454.1 kB / 441.2 MB, free: 12.99 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001265/0.2408, allocations: 1.21 MB / 442.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.2408, allocations: 0 / 442.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2408, allocations: 4 kB / 442.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.964e-05/0.2408, allocations: 0 / 442.5 MB, free: 11.77 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.002489/0.2433, allocations: 1.292 MB / 443.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.2433, allocations: 11.97 kB / 443.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001989/0.2435, allocations: 116.3 kB / 443.9 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001054/0.2446, allocations: 0.5234 MB / 444.4 MB, free: 9.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002879/0.2449, allocations: 301.2 kB / 444.7 MB, free: 9.402 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.245, allocations: 60.12 kB / 444.8 MB, free: 9.344 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001932/0.2469, allocations: 1.612 MB / 446.4 MB, free: 7.445 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.088e-05/0.2469, allocations: 0 / 446.4 MB, free: 7.445 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.907e-05/0.247, allocations: 28 kB / 446.4 MB, free: 7.418 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/0.247, allocations: 16 kB / 446.4 MB, free: 7.402 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00148/0.2485, allocations: 0.5984 MB / 447 MB, free: 6.805 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.00321/0.2517, allocations: 1.526 MB / 448.5 MB, free: 5.242 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001363/0.2531, allocations: 0.5767 MB / 449.1 MB, free: 4.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008356/0.2539, allocations: 358.6 kB / 449.5 MB, free: 4.309 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.11e-05/0.2539, allocations: 16.59 kB / 449.5 MB, free: 4.289 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.778e-05/0.254, allocations: 43.22 kB / 449.5 MB, free: 4.238 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 3.908e-06/0.254, allocations: 0 / 449.5 MB, free: 4.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.005077/0.2591, allocations: 1.488 MB / 451 MB, free: 2.738 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004481/0.2595, allocations: 0.8233 MB / 451.8 MB, free: 1.715 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007918/0.2603, allocations: 0.6058 MB / 452.4 MB, free: 1.098 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.504e-05/0.2604, allocations: 45.7 kB / 452.5 MB, free: 1.047 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002926/0.2607, allocations: 341.2 kB / 452.8 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002402/0.2609, allocations: 265.7 kB / 453.1 MB, free: 460 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002629/0.2612, allocations: 146.7 kB / 453.2 MB, free: 308 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002177/0.2614, allocations: 386.7 kB / 453.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007425/0.2621, allocations: 351 kB / 453.9 MB, free: 15.55 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001458/0.2636, allocations: 1.391 MB / 455.3 MB, free: 13.86 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001451/0.265, allocations: 0.6817 MB / 456 MB, free: 13.15 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/0.2651, allocations: 0 / 456 MB, free: 13.15 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00277/0.2678, allocations: 1.17 MB / 457.2 MB, free: 11.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.033e-05/0.2679, allocations: 93.05 kB / 457.3 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.2679, allocations: 0 / 457.3 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007038/0.2686, allocations: 235.2 kB / 457.5 MB, free: 11.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006476/0.2693, allocations: 135.8 kB / 457.6 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00823/0.2775, allocations: 6.392 MB / 464 MB, free: 4.641 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008413/0.2783, allocations: 99.73 kB / 464.1 MB, free: 4.543 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.637e-05/0.2784, allocations: 20 kB / 464.1 MB, free: 4.523 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.0003771/0.2788, allocations: 217.7 kB / 464.4 MB, free: 4.301 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001641/0.2789, allocations: 91.42 kB / 464.4 MB, free: 4.211 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001902/0.2791, allocations: 87 kB / 464.5 MB, free: 4.117 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.2791, allocations: 8 kB / 464.5 MB, free: 4.109 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.2791, allocations: 4 kB / 464.5 MB, free: 4.105 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002644/0.2818, allocations: 1.233 MB / 465.8 MB, free: 2.758 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003873/0.2856, allocations: 1.662 MB / 467.4 MB, free: 1.047 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.2856, allocations: 0 / 467.4 MB, free: 1.047 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006949/0.2863, allocations: 143.8 kB / 467.6 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005745/0.2869, allocations: 198.5 kB / 467.8 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.933e-05/0.287, allocations: 15.98 kB / 467.8 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007239/0.2942, allocations: 4.944 MB / 472.7 MB, free: 11.44 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2942, allocations: 0 / 472.7 MB, free: 11.44 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003537/0.2977, allocations: 1.384 MB / 474.1 MB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004383/0.2982, allocations: 167.3 kB / 474.3 MB, free: 9.867 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001308/0.2983, allocations: 12 kB / 474.3 MB, free: 9.855 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006772/0.299, allocations: 59.88 kB / 474.3 MB, free: 9.797 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001839/0.2992, allocations: 68.53 kB / 474.4 MB, free: 9.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-05/0.2992, allocations: 20.12 kB / 474.4 MB, free: 9.711 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005987/0.2998, allocations: 435.1 kB / 474.9 MB, free: 9.289 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2998, allocations: 0 / 474.9 MB, free: 9.289 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009056/0.3007, allocations: 283.7 kB / 475.1 MB, free: 9.012 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.0001978/0.3009, allocations: 123.2 kB / 475.3 MB, free: 8.879 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002556/0.3035, allocations: 1.392 MB / 476.6 MB, free: 7.375 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.3035, allocations: 8.125 kB / 476.7 MB, free: 7.367 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0015/0.305, allocations: 0.7417 MB / 477.4 MB, free: 6.59 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.306, allocations: 238.8 kB / 477.6 MB, free: 6.359 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003041/0.309, allocations: 1.612 MB / 479.2 MB, free: 4.715 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003909/0.3094, allocations: 345.6 kB / 479.6 MB, free: 4.352 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004587/0.3099, allocations: 102.2 kB / 479.7 MB, free: 4.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001979/0.3101, allocations: 67.36 kB / 479.7 MB, free: 4.184 MB / 382.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3101, allocations: 0 / 479.7 MB, free: 4.184 MB / 382.1 MB Notification: Performance of Templates: time 0.0348/0.3449, allocations: 20.31 MB / 0.4883 GB, free: 288 kB / 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TwoMass/TwoMass.csv","/var/lib/jenkins/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: 5.305885102599859]