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.00829/0.00829, allocations: 103.6 kB / 21.97 MB, free: 5.211 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.002205/0.002205, allocations: 220.3 kB / 25.29 MB, free: 3.215 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.447/1.447, allocations: 230.6 MB / 259 MB, free: 8.008 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.001997/0.001997, allocations: 68.53 kB / 379.8 MB, free: 2.742 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2424/0.2444, allocations: 53.37 MB / 433.2 MB, free: 6.969 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.006572/0.2509, allocations: 5.091 MB / 438.3 MB, free: 1.859 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002662/0.2536, allocations: 1.34 MB / 439.6 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003443/0.2539, allocations: 11.94 kB / 439.6 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004471/0.2544, allocations: 158.6 kB / 439.8 MB, free: 356 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007243/0.2551, allocations: 337.2 kB / 440.1 MB, free: 16 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004779/0.2556, allocations: 231.6 kB / 440.3 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001253/0.2568, allocations: 1.182 MB / 441.5 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003591/0.2572, allocations: 218.3 kB / 441.7 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005222/0.2577, allocations: 470.4 kB / 442.2 MB, free: 13.92 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006426/0.2584, allocations: 0.5018 MB / 442.7 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000143/0.2585, allocations: 104 kB / 442.8 MB, free: 13.31 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001672/0.2587, allocations: 108 kB / 442.9 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001974/0.2589, allocations: 231.2 kB / 443.1 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004894/0.2594, allocations: 0.5211 MB / 443.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001246/0.2606, allocations: 1.204 MB / 444.8 MB, free: 11.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2606, allocations: 0 / 444.8 MB, free: 11.25 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.2606, allocations: 0 / 444.8 MB, free: 11.25 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.167e-05/0.2606, allocations: 0 / 444.8 MB, free: 11.25 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.002404/0.263, allocations: 1.292 MB / 446.1 MB, free: 9.906 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.2631, allocations: 8.031 kB / 446.1 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000195/0.2633, allocations: 120.3 kB / 446.3 MB, free: 9.781 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001038/0.2643, allocations: 0.5311 MB / 446.8 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001997/0.2645, allocations: 143 kB / 446.9 MB, free: 9.062 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.866e-05/0.2646, allocations: 60.12 kB / 447 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001466/0.2661, allocations: 0.8478 MB / 447.8 MB, free: 8.055 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/0.2661, allocations: 4 kB / 447.8 MB, free: 8.051 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.682e-05/0.2662, allocations: 28 kB / 447.9 MB, free: 8.023 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.498e-05/0.2662, allocations: 15.98 kB / 447.9 MB, free: 8.008 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001404/0.2676, allocations: 0.5946 MB / 448.5 MB, free: 7.414 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.003629/0.2712, allocations: 2.011 MB / 450.5 MB, free: 5.305 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00127/0.2725, allocations: 0.5857 MB / 451.1 MB, free: 4.711 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007843/0.2733, allocations: 367.5 kB / 451.4 MB, free: 4.352 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.265e-05/0.2733, allocations: 8.656 kB / 451.4 MB, free: 4.344 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.151e-05/0.2734, allocations: 51.16 kB / 451.5 MB, free: 4.281 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.945e-06/0.2734, allocations: 0 / 451.5 MB, free: 4.281 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.005025/0.2784, allocations: 1.492 MB / 453 MB, free: 2.777 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005283/0.2789, allocations: 0.8195 MB / 453.8 MB, free: 1.762 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009504/0.2799, allocations: 0.6332 MB / 454.4 MB, free: 1.117 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.201e-05/0.28, allocations: 45.7 kB / 454.5 MB, free: 1.066 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003168/0.2803, allocations: 341.4 kB / 454.8 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002573/0.2805, allocations: 257.7 kB / 455.1 MB, free: 488 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00024/0.2808, allocations: 146.6 kB / 455.2 MB, free: 336 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002138/0.281, allocations: 386.7 kB / 455.6 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006573/0.2817, allocations: 281.8 kB / 455.9 MB, free: 15.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000955/0.2826, allocations: 0.5508 MB / 456.4 MB, free: 15.02 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001364/0.284, allocations: 0.6855 MB / 457.1 MB, free: 14.3 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.284, allocations: 0 / 457.1 MB, free: 14.3 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00271/0.2867, allocations: 1.091 MB / 458.2 MB, free: 13.17 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.703e-05/0.2868, allocations: 89.09 kB / 458.3 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.2868, allocations: 0 / 458.3 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007126/0.2875, allocations: 239.2 kB / 458.5 MB, free: 12.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006305/0.2881, allocations: 139.8 kB / 458.6 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008163/0.2963, allocations: 6.515 MB / 465.2 MB, free: 5.711 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009511/0.2972, allocations: 107.4 kB / 465.3 MB, free: 5.605 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-05/0.2973, allocations: 20 kB / 465.3 MB, free: 5.586 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.0003978/0.2977, allocations: 221.7 kB / 465.5 MB, free: 5.359 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001483/0.2978, allocations: 95.47 kB / 465.6 MB, free: 5.266 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001823/0.298, allocations: 87.34 kB / 465.7 MB, free: 5.172 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.298, allocations: 8 kB / 465.7 MB, free: 5.164 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.298, allocations: 0 / 465.7 MB, free: 5.164 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002504/0.3005, allocations: 1.237 MB / 466.9 MB, free: 3.812 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003929/0.3045, allocations: 1.884 MB / 468.8 MB, free: 1.867 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.227e-06/0.3045, allocations: 0 / 468.8 MB, free: 1.867 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007004/0.3052, allocations: 143.8 kB / 468.9 MB, free: 1.727 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005626/0.3057, allocations: 198.5 kB / 469.1 MB, free: 1.523 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.681e-05/0.3058, allocations: 16 kB / 469.2 MB, free: 1.508 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006877/0.3127, allocations: 5.047 MB / 474.2 MB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.3127, allocations: 0 / 474.2 MB, free: 12.12 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003409/0.3161, allocations: 1.388 MB / 475.6 MB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004465/0.3165, allocations: 167.3 kB / 475.8 MB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/0.3166, allocations: 20 kB / 475.8 MB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006154/0.3172, allocations: 51.89 kB / 475.8 MB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002003/0.3174, allocations: 68.47 kB / 475.9 MB, free: 10.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.13e-05/0.3175, allocations: 20 kB / 475.9 MB, free: 10.39 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006041/0.3181, allocations: 455 kB / 476.4 MB, free: 9.945 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3181, allocations: 0 / 476.4 MB, free: 9.945 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008667/0.3189, allocations: 283.8 kB / 476.6 MB, free: 9.668 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.0001896/0.3191, allocations: 123.2 kB / 476.8 MB, free: 9.535 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002341/0.3215, allocations: 1.316 MB / 478.1 MB, free: 8.129 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.3215, allocations: 0 / 478.1 MB, free: 8.129 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001398/0.3229, allocations: 0.7496 MB / 478.8 MB, free: 7.344 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009987/0.3239, allocations: 234.8 kB / 479 MB, free: 7.117 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003091/0.327, allocations: 1.664 MB / 480.7 MB, free: 5.414 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005981/0.3276, allocations: 0.9401 MB / 481.7 MB, free: 4.449 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002172/0.3278, allocations: 67.44 kB / 481.7 MB, free: 4.383 MB / 382.1 MB Notification: Performance of SimCode: time 9.52e-07/0.3278, allocations: 0 / 481.7 MB, free: 4.383 MB / 382.1 MB Notification: Performance of Templates: time 0.02843/0.3562, allocations: 22.68 MB / 0.4926 GB, free: 13.79 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/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-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: 9.624600888928398]