Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.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.001528/0.001528, allocations: 108.6 kB / 21.19 MB, free: 0.7578 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.00202/0.00202, allocations: 193.1 kB / 24.47 MB, free: 4.152 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.45/1.45, allocations: 225.6 MB / 253.3 MB, free: 13.02 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.TwoMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001568/0.001568, allocations: 51.91 kB / 371.7 MB, free: 9.387 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/0.2567, allocations: 52.19 MB / 423.9 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.006829/0.2635, allocations: 5.081 MB / 429 MB, free: 9.605 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002637/0.2662, allocations: 1.297 MB / 430.3 MB, free: 8.305 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003195/0.2665, allocations: 11.94 kB / 430.3 MB, free: 8.293 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004451/0.2669, allocations: 166.5 kB / 430.4 MB, free: 8.129 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006631/0.2676, allocations: 333.2 kB / 430.8 MB, free: 7.801 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004734/0.2681, allocations: 227.6 kB / 431 MB, free: 7.578 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00158/0.2696, allocations: 1.187 MB / 432.2 MB, free: 6.391 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003973/0.27, allocations: 224.1 kB / 432.4 MB, free: 6.156 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006082/0.2706, allocations: 470.4 kB / 432.8 MB, free: 5.695 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006562/0.2713, allocations: 0.4979 MB / 433.3 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001612/0.2715, allocations: 104 kB / 433.4 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001675/0.2716, allocations: 108 kB / 433.5 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002052/0.2718, allocations: 231.2 kB / 433.8 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005215/0.2724, allocations: 0.5172 MB / 434.3 MB, free: 4.242 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001304/0.2737, allocations: 1.202 MB / 435.5 MB, free: 3.039 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2737, allocations: 4 kB / 435.5 MB, free: 3.035 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.2737, allocations: 0 / 435.5 MB, free: 3.035 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.257e-05/0.2737, allocations: 0 / 435.5 MB, free: 3.035 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.002742/0.2764, allocations: 1.3 MB / 436.8 MB, free: 1.684 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.2765, allocations: 11.97 kB / 436.8 MB, free: 1.672 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002011/0.2767, allocations: 112.3 kB / 436.9 MB, free: 1.562 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001063/0.2777, allocations: 0.5311 MB / 437.4 MB, free: 1 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002959/0.278, allocations: 297.2 kB / 437.7 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.2781, allocations: 68.08 kB / 437.8 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001651/0.2798, allocations: 0.8431 MB / 438.6 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/0.2798, allocations: 0 / 438.6 MB, free: 15.64 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.684e-05/0.2799, allocations: 28 kB / 438.7 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.759e-05/0.2799, allocations: 12 kB / 438.7 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001422/0.2813, allocations: 0.6024 MB / 439.3 MB, free: 15 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.003619/0.2849, allocations: 2.012 MB / 441.3 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001304/0.2862, allocations: 0.5816 MB / 441.9 MB, free: 12.3 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008238/0.287, allocations: 365.9 kB / 442.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.57e-05/0.2871, allocations: 20.58 kB / 442.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.578e-05/0.2872, allocations: 47.22 kB / 442.3 MB, free: 11.87 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.184e-06/0.2872, allocations: 0 / 442.3 MB, free: 11.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.005135/0.2923, allocations: 1.48 MB / 443.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005189/0.2928, allocations: 0.8234 MB / 444.6 MB, free: 9.359 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009345/0.2937, allocations: 0.6371 MB / 445.2 MB, free: 8.715 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.895e-05/0.2938, allocations: 45.69 kB / 445.3 MB, free: 8.664 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000303/0.2941, allocations: 337.4 kB / 445.6 MB, free: 8.332 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003386/0.2945, allocations: 277.6 kB / 445.9 MB, free: 8.059 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002457/0.2947, allocations: 138.7 kB / 446 MB, free: 7.918 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002243/0.295, allocations: 390.7 kB / 446.4 MB, free: 7.527 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006837/0.2956, allocations: 277.8 kB / 446.7 MB, free: 7.254 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009662/0.2966, allocations: 0.5507 MB / 447.2 MB, free: 6.602 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001502/0.2981, allocations: 0.6816 MB / 447.9 MB, free: 5.891 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.686e-06/0.2981, allocations: 0 / 447.9 MB, free: 5.891 MB / 350.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002728/0.3008, allocations: 1.091 MB / 449 MB, free: 4.766 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.387e-05/0.3009, allocations: 89.09 kB / 449.1 MB, free: 4.66 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.3009, allocations: 4 kB / 449.1 MB, free: 4.656 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000704/0.3016, allocations: 239.2 kB / 449.3 MB, free: 4.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006677/0.3023, allocations: 135.8 kB / 449.5 MB, free: 4.277 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008584/0.3109, allocations: 6.518 MB / 456 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009287/0.3118, allocations: 99.58 kB / 456.1 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.324e-05/0.3119, allocations: 24 kB / 456.1 MB, free: 13.18 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.000393/0.3123, allocations: 221.6 kB / 456.3 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001668/0.3124, allocations: 91.48 kB / 456.4 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001893/0.3126, allocations: 95.33 kB / 456.5 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.3126, allocations: 8 kB / 456.5 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.3126, allocations: 0 / 456.5 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002621/0.3153, allocations: 1.233 MB / 457.7 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004068/0.3193, allocations: 1.888 MB / 459.6 MB, free: 9.457 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.3193, allocations: 0 / 459.6 MB, free: 9.457 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007101/0.32, allocations: 143.8 kB / 459.8 MB, free: 9.316 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000565/0.3206, allocations: 202.4 kB / 460 MB, free: 9.109 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.997e-05/0.3207, allocations: 16 kB / 460 MB, free: 9.094 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00699/0.3276, allocations: 5.044 MB / 465 MB, free: 3.707 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3276, allocations: 0 / 465 MB, free: 3.707 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003585/0.3312, allocations: 1.392 MB / 466.4 MB, free: 2.297 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004818/0.3317, allocations: 167.3 kB / 466.6 MB, free: 2.133 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000159/0.3319, allocations: 20.12 kB / 466.6 MB, free: 2.113 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000683/0.3326, allocations: 55.95 kB / 466.7 MB, free: 2.059 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001841/0.3327, allocations: 68.47 kB / 466.7 MB, free: 1.988 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.21e-05/0.3328, allocations: 16 kB / 466.7 MB, free: 1.973 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006576/0.3334, allocations: 455 kB / 467.2 MB, free: 1.531 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3334, allocations: 0 / 467.2 MB, free: 1.531 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009532/0.3344, allocations: 283.8 kB / 467.5 MB, free: 1.254 MB / 366.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.0001968/0.3346, allocations: 119.2 kB / 467.6 MB, free: 1.125 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002421/0.337, allocations: 1.317 MB / 468.9 MB, free: 15.72 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.337, allocations: 0 / 468.9 MB, free: 15.72 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00144/0.3385, allocations: 0.7458 MB / 469.6 MB, free: 14.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00107/0.3395, allocations: 234.6 kB / 469.9 MB, free: 14.71 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003446/0.343, allocations: 1.661 MB / 471.5 MB, free: 13.01 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006566/0.3436, allocations: 0.944 MB / 472.5 MB, free: 12.04 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002347/0.3439, allocations: 71.42 kB / 472.5 MB, free: 11.97 MB / 382.1 MB Notification: Performance of SimCode: time 4.2e-07/0.3439, allocations: 0 / 472.5 MB, free: 11.97 MB / 382.1 MB Notification: Performance of Templates: time 0.03061/0.3745, allocations: 22.65 MB / 495.2 MB, free: 5.395 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/TwoMass/TwoMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.628509458852932]