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.001504/0.001504, allocations: 111 kB / 21.19 MB, free: 0.6758 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.001741/0.001741, allocations: 215.5 kB / 24.48 MB, free: 3.98 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 2.187/2.187, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.002169/0.002169, allocations: 47.92 kB / 379 MB, free: 2.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.325, allocations: 53.37 MB / 432.3 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.008878/0.3338, allocations: 4.522 MB / 436.8 MB, free: 2.184 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003372/0.3372, allocations: 1.289 MB / 438.1 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004972/0.3377, allocations: 11.94 kB / 438.1 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000641/0.3383, allocations: 158.6 kB / 438.3 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001011/0.3394, allocations: 333.2 kB / 438.6 MB, free: 404 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006419/0.34, allocations: 231.6 kB / 438.9 MB, free: 172 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001832/0.3418, allocations: 1.18 MB / 440 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005171/0.3423, allocations: 214.6 kB / 440.2 MB, free: 14.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007678/0.3431, allocations: 470.4 kB / 440.7 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008991/0.344, allocations: 0.5018 MB / 441.2 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002173/0.3442, allocations: 104 kB / 441.3 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002667/0.3445, allocations: 104 kB / 441.4 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002713/0.3448, allocations: 227.2 kB / 441.6 MB, free: 13.37 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006487/0.3454, allocations: 450.1 kB / 442.1 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001772/0.3472, allocations: 1.217 MB / 443.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.3472, allocations: 0 / 443.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.869e-06/0.3472, allocations: 7.984 kB / 443.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.606e-05/0.3472, allocations: 3.938 kB / 443.3 MB, free: 11.7 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.003645/0.3509, allocations: 1.288 MB / 444.6 MB, free: 10.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.3509, allocations: 8.031 kB / 444.6 MB, free: 10.35 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002976/0.3512, allocations: 120.3 kB / 444.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001553/0.3528, allocations: 0.5234 MB / 445.2 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004326/0.3532, allocations: 301.2 kB / 445.5 MB, free: 9.328 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001615/0.3533, allocations: 60.12 kB / 445.6 MB, free: 9.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002812/0.3562, allocations: 1.609 MB / 447.2 MB, free: 7.375 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.711e-05/0.3562, allocations: 0 / 447.2 MB, free: 7.375 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000104/0.3563, allocations: 31.94 kB / 447.2 MB, free: 7.344 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.235e-05/0.3563, allocations: 16 kB / 447.2 MB, free: 7.328 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00221/0.3585, allocations: 0.5907 MB / 447.8 MB, free: 6.738 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.0047/0.3632, allocations: 1.53 MB / 449.4 MB, free: 5.172 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00198/0.3652, allocations: 0.5824 MB / 449.9 MB, free: 4.582 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001288/0.3665, allocations: 358.6 kB / 450.3 MB, free: 4.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.34e-05/0.3666, allocations: 8.656 kB / 450.3 MB, free: 4.219 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.584e-05/0.3666, allocations: 51.2 kB / 450.4 MB, free: 4.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 4.438e-06/0.3666, allocations: 0 / 450.4 MB, free: 4.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.007962/0.3746, allocations: 1.484 MB / 451.8 MB, free: 2.664 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006217/0.3752, allocations: 0.8234 MB / 452.7 MB, free: 1.641 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001234/0.3765, allocations: 0.6019 MB / 453.3 MB, free: 1.027 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001384/0.3766, allocations: 45.7 kB / 453.3 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004465/0.377, allocations: 345.2 kB / 453.6 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003289/0.3774, allocations: 265.6 kB / 453.9 MB, free: 384 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003617/0.3777, allocations: 146.7 kB / 454 MB, free: 232 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002865/0.378, allocations: 382.8 kB / 454.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001135/0.3792, allocations: 351 kB / 454.8 MB, free: 15.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002098/0.3812, allocations: 1.398 MB / 456.2 MB, free: 13.78 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002222/0.3835, allocations: 0.6779 MB / 456.8 MB, free: 13.08 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.3835, allocations: 0 / 456.8 MB, free: 13.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.004368/0.3878, allocations: 1.166 MB / 458 MB, free: 11.86 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.739e-05/0.3879, allocations: 91.95 kB / 458.1 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.388, allocations: 4 kB / 458.1 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001098/0.3891, allocations: 239.2 kB / 458.3 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001052/0.3901, allocations: 139.8 kB / 458.5 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0125/0.4026, allocations: 6.388 MB / 464.9 MB, free: 4.566 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00137/0.404, allocations: 99.61 kB / 465 MB, free: 4.469 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.951e-05/0.4041, allocations: 20 kB / 465 MB, free: 4.449 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.0005934/0.4047, allocations: 217.7 kB / 465.2 MB, free: 4.227 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002559/0.4049, allocations: 95.41 kB / 465.3 MB, free: 4.133 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002307/0.4051, allocations: 83.02 kB / 465.4 MB, free: 4.043 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/0.4051, allocations: 12 kB / 465.4 MB, free: 4.031 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.4052, allocations: 0 / 465.4 MB, free: 4.031 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004051/0.4092, allocations: 1.233 MB / 466.6 MB, free: 2.684 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005784/0.415, allocations: 1.662 MB / 468.3 MB, free: 0.9727 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.06e-05/0.415, allocations: 4 kB / 468.3 MB, free: 0.9688 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001161/0.4162, allocations: 139.8 kB / 468.4 MB, free: 0.832 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008666/0.417, allocations: 194.4 kB / 468.6 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.568e-05/0.4171, allocations: 27.92 kB / 468.6 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01006/0.4272, allocations: 4.928 MB / 473.6 MB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.013e-06/0.4272, allocations: 0 / 473.6 MB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005236/0.4324, allocations: 1.388 MB / 474.9 MB, free: 9.961 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005999/0.433, allocations: 159.3 kB / 475.1 MB, free: 9.805 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001639/0.4332, allocations: 23.98 kB / 475.1 MB, free: 9.781 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001024/0.4342, allocations: 47.95 kB / 475.2 MB, free: 9.734 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002395/0.4344, allocations: 68.53 kB / 475.2 MB, free: 9.668 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.974e-05/0.4345, allocations: 20 kB / 475.3 MB, free: 9.648 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008464/0.4353, allocations: 435.1 kB / 475.7 MB, free: 9.227 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4353, allocations: 0 / 475.7 MB, free: 9.227 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001404/0.4367, allocations: 287.7 kB / 476 MB, free: 8.945 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.0002397/0.437, allocations: 119.2 kB / 476.1 MB, free: 8.816 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003453/0.4404, allocations: 1.396 MB / 477.5 MB, free: 7.312 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/0.4404, allocations: 4 kB / 477.5 MB, free: 7.309 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002161/0.4426, allocations: 0.7457 MB / 478.2 MB, free: 6.527 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001546/0.4442, allocations: 238.7 kB / 478.5 MB, free: 6.297 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004112/0.4483, allocations: 1.612 MB / 480.1 MB, free: 4.652 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005057/0.4488, allocations: 349.6 kB / 480.4 MB, free: 4.285 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006117/0.4494, allocations: 106.1 kB / 480.5 MB, free: 4.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002511/0.4496, allocations: 63.44 kB / 480.6 MB, free: 4.117 MB / 382.1 MB Notification: Performance of SimCode: time 7.12e-07/0.4496, allocations: 0 / 480.6 MB, free: 4.117 MB / 382.1 MB Notification: Performance of Templates: time 0.04972/0.4994, allocations: 20.5 MB / 0.4893 GB, free: 28 kB / 398.1 MB " [Timeout remaining time 659] 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 -s cvode -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/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_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: 7.767909661997692]