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.001669/0.001669, allocations: 110.4 kB / 21.17 MB, free: 0.7852 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.00205/0.00205, allocations: 220.1 kB / 24.47 MB, free: 4.359 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.466/1.466, allocations: 230.4 MB / 258.1 MB, free: 8.176 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.001962/0.001962, allocations: 63.84 kB / 378.7 MB, free: 2.934 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.2553, allocations: 53.33 MB / 432 MB, free: 7.414 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.00643/0.2617, allocations: 5.083 MB / 437.1 MB, free: 2.309 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002647/0.2643, allocations: 1.34 MB / 438.5 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003685/0.2647, allocations: 11.94 kB / 438.5 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004693/0.2652, allocations: 162.5 kB / 438.6 MB, free: 0.793 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006959/0.2659, allocations: 333.2 kB / 439 MB, free: 476 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004899/0.2664, allocations: 235.5 kB / 439.2 MB, free: 240 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001369/0.2677, allocations: 1.175 MB / 440.4 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003889/0.2681, allocations: 227.6 kB / 440.6 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005051/0.2686, allocations: 450.5 kB / 441 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006615/0.2693, allocations: 0.5057 MB / 441.5 MB, free: 13.87 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001635/0.2694, allocations: 104 kB / 441.6 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001673/0.2696, allocations: 107.9 kB / 441.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001973/0.2698, allocations: 223.2 kB / 442 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005007/0.2703, allocations: 0.5172 MB / 442.5 MB, free: 12.92 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001325/0.2716, allocations: 1.21 MB / 443.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.2716, allocations: 0 / 443.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.2716, allocations: 0 / 443.7 MB, free: 11.71 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.593e-05/0.2717, allocations: 0 / 443.7 MB, free: 11.71 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.002712/0.2744, allocations: 1.367 MB / 445.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.2744, allocations: 12.03 kB / 445.1 MB, free: 10.26 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002108/0.2746, allocations: 112.3 kB / 445.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001095/0.2757, allocations: 0.5955 MB / 445.8 MB, free: 9.512 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002297/0.2759, allocations: 143 kB / 445.9 MB, free: 9.352 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/0.2761, allocations: 64.06 kB / 446 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001523/0.2776, allocations: 0.847 MB / 446.8 MB, free: 8.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.925e-05/0.2776, allocations: 0 / 446.8 MB, free: 8.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.777e-05/0.2777, allocations: 28 kB / 446.8 MB, free: 8.312 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.332e-05/0.2777, allocations: 12 kB / 446.9 MB, free: 8.301 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001502/0.2792, allocations: 0.5946 MB / 447.5 MB, free: 7.703 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.003606/0.2828, allocations: 2.059 MB / 449.5 MB, free: 5.547 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001468/0.2843, allocations: 0.8227 MB / 450.3 MB, free: 4.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008162/0.2851, allocations: 351.5 kB / 450.7 MB, free: 4.316 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.817e-05/0.2851, allocations: 16.64 kB / 450.7 MB, free: 4.301 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.534e-05/0.2852, allocations: 51.22 kB / 450.7 MB, free: 4.242 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.405e-06/0.2852, allocations: 3.938 kB / 450.7 MB, free: 4.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.005578/0.2908, allocations: 1.793 MB / 452.5 MB, free: 2.355 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004697/0.2912, allocations: 0.8195 MB / 453.4 MB, free: 1.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008806/0.2921, allocations: 0.6332 MB / 454 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.589e-05/0.2922, allocations: 41.7 kB / 454 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003596/0.2926, allocations: 341.4 kB / 454.4 MB, free: 320 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000259/0.2928, allocations: 261.7 kB / 454.6 MB, free: 56 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002697/0.2931, allocations: 150.6 kB / 454.8 MB, free: 15.9 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002211/0.2933, allocations: 382.8 kB / 455.1 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007134/0.294, allocations: 269.8 kB / 455.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001048/0.2951, allocations: 0.5551 MB / 456 MB, free: 14.6 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001491/0.2966, allocations: 0.6855 MB / 456.6 MB, free: 13.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.2966, allocations: 7.938 kB / 456.7 MB, free: 13.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003016/0.2996, allocations: 1.091 MB / 457.7 MB, free: 12.75 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.477e-05/0.2997, allocations: 85.11 kB / 457.8 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.2997, allocations: 0 / 457.8 MB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008407/0.3005, allocations: 235.2 kB / 458.1 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006797/0.3012, allocations: 139.8 kB / 458.2 MB, free: 12.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009097/0.3103, allocations: 6.928 MB / 465.1 MB, free: 4.781 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009899/0.3113, allocations: 111.6 kB / 465.2 MB, free: 4.672 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.583e-05/0.3114, allocations: 20 kB / 465.3 MB, free: 4.652 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.0004006/0.3118, allocations: 217.8 kB / 465.5 MB, free: 4.43 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001523/0.3119, allocations: 87.48 kB / 465.5 MB, free: 4.344 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001789/0.3121, allocations: 99.27 kB / 465.6 MB, free: 4.242 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.3121, allocations: 8 kB / 465.7 MB, free: 4.234 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.3121, allocations: 4 kB / 465.7 MB, free: 4.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002567/0.3147, allocations: 1.229 MB / 466.9 MB, free: 2.887 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004045/0.3187, allocations: 1.916 MB / 468.8 MB, free: 0.8984 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.664e-06/0.3187, allocations: 3.984 kB / 468.8 MB, free: 0.8945 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007572/0.3195, allocations: 135.8 kB / 468.9 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005838/0.3201, allocations: 202.4 kB / 469.1 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.352e-05/0.3201, allocations: 12 kB / 469.1 MB, free: 0.543 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007343/0.3274, allocations: 5.357 MB / 474.5 MB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3274, allocations: 0 / 474.5 MB, free: 10.77 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003589/0.331, allocations: 1.4 MB / 475.9 MB, free: 9.344 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004293/0.3315, allocations: 240.4 kB / 476.1 MB, free: 9.09 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001249/0.3316, allocations: 23.98 kB / 476.2 MB, free: 9.066 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006751/0.3323, allocations: 43.95 kB / 476.2 MB, free: 9.023 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001682/0.3324, allocations: 64.61 kB / 476.3 MB, free: 8.965 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.529e-05/0.3325, allocations: 23.98 kB / 476.3 MB, free: 8.941 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006185/0.3331, allocations: 455.1 kB / 476.7 MB, free: 8.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3331, allocations: 0 / 476.7 MB, free: 8.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000928/0.334, allocations: 279.8 kB / 477 MB, free: 8.227 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.0002314/0.3343, allocations: 135 kB / 477.1 MB, free: 8.086 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002574/0.3368, allocations: 1.313 MB / 478.5 MB, free: 6.688 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.3368, allocations: 0 / 478.5 MB, free: 6.688 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001511/0.3383, allocations: 0.7457 MB / 479.2 MB, free: 5.898 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00117/0.3395, allocations: 237.8 kB / 479.4 MB, free: 5.672 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003124/0.3426, allocations: 1.627 MB / 481.1 MB, free: 4.012 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006915/0.3433, allocations: 0.944 MB / 482 MB, free: 3.043 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003955/0.3437, allocations: 98.44 kB / 482.1 MB, free: 2.941 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001739/0.3439, allocations: 63.42 kB / 482.2 MB, free: 2.879 MB / 382.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3439, allocations: 4 kB / 482.2 MB, free: 2.875 MB / 382.1 MB Notification: Performance of Templates: time 0.03562/0.3795, allocations: 19.04 MB / 0.4895 GB, free: 108 kB / 398.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 -s cvode -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: 5.29339904896915]