Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.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.001532/0.001532, allocations: 117.9 kB / 21.18 MB, free: 0.6289 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.001678/0.001678, allocations: 202.8 kB / 24.46 MB, free: 3.902 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.404/1.404, allocations: 230.4 MB / 258.1 MB, free: 8.141 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-beta.om/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.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-beta.om_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-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001902/0.001902, allocations: 79.81 kB / 378.7 MB, free: 2.883 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2157/0.2176, allocations: 53.31 MB / 432 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.006309/0.2239, allocations: 5.093 MB / 437.1 MB, free: 2.266 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002404/0.2263, allocations: 1.336 MB / 438.5 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002919/0.2266, allocations: 8 kB / 438.5 MB, free: 0.918 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004108/0.227, allocations: 166.5 kB / 438.6 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006216/0.2277, allocations: 333.2 kB / 439 MB, free: 436 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004322/0.2281, allocations: 223.6 kB / 439.2 MB, free: 212 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001294/0.2294, allocations: 1.176 MB / 440.4 MB, free: 15.03 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003494/0.2297, allocations: 219.7 kB / 440.6 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005189/0.2302, allocations: 454.4 kB / 441 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006308/0.2309, allocations: 0.5057 MB / 441.5 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001497/0.231, allocations: 107.9 kB / 441.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001608/0.2312, allocations: 108 kB / 441.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002016/0.2314, allocations: 231.2 kB / 442 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004961/0.2319, allocations: 0.5172 MB / 442.5 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001239/0.2331, allocations: 1.202 MB / 443.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.2331, allocations: 0 / 443.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2331, allocations: 0 / 443.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.231e-05/0.2331, allocations: 4 kB / 443.7 MB, free: 11.67 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.002501/0.2356, allocations: 1.367 MB / 445.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.2357, allocations: 8.031 kB / 445.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001937/0.2359, allocations: 116.3 kB / 445.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001015/0.2369, allocations: 0.5954 MB / 445.8 MB, free: 9.477 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002091/0.2371, allocations: 143 kB / 445.9 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001039/0.2372, allocations: 64.11 kB / 446 MB, free: 9.254 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001467/0.2387, allocations: 0.8431 MB / 446.8 MB, free: 8.309 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.2387, allocations: 0 / 446.8 MB, free: 8.309 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-05/0.2388, allocations: 28 kB / 446.8 MB, free: 8.281 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.256e-05/0.2388, allocations: 12 kB / 446.9 MB, free: 8.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00143/0.2402, allocations: 0.5985 MB / 447.5 MB, free: 7.668 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.003365/0.2436, allocations: 2.059 MB / 449.5 MB, free: 5.512 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001391/0.245, allocations: 0.8124 MB / 450.3 MB, free: 4.633 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007983/0.2458, allocations: 355.5 kB / 450.7 MB, free: 4.285 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.502e-05/0.2458, allocations: 16.64 kB / 450.7 MB, free: 4.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.904e-05/0.2459, allocations: 51.16 kB / 450.7 MB, free: 4.211 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.004e-06/0.2459, allocations: 0 / 450.7 MB, free: 4.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.005121/0.251, allocations: 1.793 MB / 452.5 MB, free: 2.328 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004742/0.2515, allocations: 0.8195 MB / 453.4 MB, free: 1.312 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008503/0.2523, allocations: 0.6332 MB / 454 MB, free: 0.668 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001174/0.2524, allocations: 45.7 kB / 454 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002986/0.2527, allocations: 349.3 kB / 454.4 MB, free: 280 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002475/0.253, allocations: 257.7 kB / 454.6 MB, free: 20 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002716/0.2532, allocations: 150.6 kB / 454.8 MB, free: 15.87 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002164/0.2535, allocations: 382.8 kB / 455.1 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006889/0.2541, allocations: 269.8 kB / 455.4 MB, free: 15.22 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009388/0.2551, allocations: 0.559 MB / 456 MB, free: 14.56 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001382/0.2565, allocations: 0.6777 MB / 456.6 MB, free: 13.86 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.2565, allocations: 4 kB / 456.6 MB, free: 13.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002737/0.2592, allocations: 1.091 MB / 457.7 MB, free: 12.73 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.993e-05/0.2593, allocations: 89.11 kB / 457.8 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.2593, allocations: 0 / 457.8 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006988/0.26, allocations: 239.2 kB / 458.1 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006374/0.2606, allocations: 139.8 kB / 458.2 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008504/0.2691, allocations: 6.932 MB / 465.1 MB, free: 4.746 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009253/0.2701, allocations: 111.4 kB / 465.2 MB, free: 4.637 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-05/0.2701, allocations: 28 kB / 465.3 MB, free: 4.609 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.0003654/0.2705, allocations: 213.7 kB / 465.5 MB, free: 4.391 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001534/0.2706, allocations: 91.48 kB / 465.6 MB, free: 4.301 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001773/0.2708, allocations: 87.33 kB / 465.6 MB, free: 4.211 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.2708, allocations: 8.234 kB / 465.7 MB, free: 4.203 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.2708, allocations: 4 kB / 465.7 MB, free: 4.199 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00257/0.2734, allocations: 1.233 MB / 466.9 MB, free: 2.852 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003918/0.2773, allocations: 1.92 MB / 468.8 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.2773, allocations: 0 / 468.8 MB, free: 0.8594 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007035/0.278, allocations: 139.8 kB / 468.9 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005546/0.2786, allocations: 202.4 kB / 469.1 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.644e-05/0.2786, allocations: 15.94 kB / 469.2 MB, free: 0.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006935/0.2856, allocations: 5.35 MB / 474.5 MB, free: 10.74 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.2856, allocations: 4.031 kB / 474.5 MB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00338/0.2889, allocations: 1.392 MB / 475.9 MB, free: 9.316 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000404/0.2893, allocations: 240.4 kB / 476.1 MB, free: 9.062 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001355/0.2895, allocations: 23.98 kB / 476.2 MB, free: 9.039 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000652/0.2901, allocations: 47.95 kB / 476.2 MB, free: 8.992 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001714/0.2903, allocations: 68.52 kB / 476.3 MB, free: 8.926 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.187e-05/0.2903, allocations: 19.98 kB / 476.3 MB, free: 8.906 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005637/0.2909, allocations: 455.1 kB / 476.7 MB, free: 8.465 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2909, allocations: 0 / 476.7 MB, free: 8.465 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000819/0.2917, allocations: 279.8 kB / 477 MB, free: 8.191 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.0001742/0.2919, allocations: 127.1 kB / 477.1 MB, free: 8.059 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002266/0.2942, allocations: 1.324 MB / 478.5 MB, free: 6.648 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.531e-06/0.2942, allocations: 4 kB / 478.5 MB, free: 6.645 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001383/0.2955, allocations: 0.7418 MB / 479.2 MB, free: 5.859 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001021/0.2966, allocations: 242.2 kB / 479.4 MB, free: 5.629 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002809/0.2994, allocations: 1.648 MB / 481.1 MB, free: 3.941 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000563/0.2999, allocations: 0.944 MB / 482 MB, free: 2.973 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002179/0.3002, allocations: 75.42 kB / 482.1 MB, free: 2.898 MB / 382.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3002, allocations: 0 / 482.1 MB, free: 2.898 MB / 382.1 MB Notification: Performance of Templates: time 0.02715/0.3273, allocations: 22.67 MB / 0.4929 GB, free: 12.31 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & ./Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/TwoMass/TwoMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 8.966410458087921]