Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.002062/0.002062, allocations: 81.84 kB / 22 MB, free: 5.18 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.002295/0.002295, allocations: 161.8 kB / 25.25 MB, free: 3.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.384/1.384, allocations: 158.6 MB / 187 MB, free: 6.242 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001836/0.001836, allocations: 47.92 kB / 299.4 MB, free: 6.855 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2512/0.2531, allocations: 49.14 MB / 348.5 MB, free: 15.53 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass): time 0.006342/0.2594, allocations: 4.493 MB / 353 MB, free: 11.02 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002525/0.2619, allocations: 1.301 MB / 354.3 MB, free: 9.707 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002983/0.2622, allocations: 11.94 kB / 354.3 MB, free: 9.695 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004695/0.2627, allocations: 158.6 kB / 354.5 MB, free: 9.539 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007767/0.2635, allocations: 337.2 kB / 354.8 MB, free: 9.207 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005234/0.264, allocations: 231.6 kB / 355 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001398/0.2654, allocations: 1.176 MB / 356.2 MB, free: 7.797 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003914/0.2658, allocations: 210.7 kB / 356.4 MB, free: 7.574 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000513/0.2663, allocations: 466.4 kB / 356.9 MB, free: 7.117 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006096/0.2669, allocations: 445.9 kB / 357.3 MB, free: 6.68 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001517/0.2671, allocations: 104 kB / 357.4 MB, free: 6.578 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000182/0.2672, allocations: 112 kB / 357.5 MB, free: 6.469 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002142/0.2675, allocations: 223.2 kB / 357.7 MB, free: 6.25 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005517/0.268, allocations: 446.1 kB / 358.2 MB, free: 5.812 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001208/0.2692, allocations: 1.216 MB / 359.4 MB, free: 4.598 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.2692, allocations: 0 / 359.4 MB, free: 4.598 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2692, allocations: 0 / 359.4 MB, free: 4.598 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.4e-05/0.2692, allocations: 4 kB / 359.4 MB, free: 4.594 MB / 318.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.002552/0.2718, allocations: 1.296 MB / 360.7 MB, free: 3.246 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.2718, allocations: 19.92 kB / 360.7 MB, free: 3.227 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001909/0.272, allocations: 112.3 kB / 360.8 MB, free: 3.117 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00104/0.2731, allocations: 0.5273 MB / 361.3 MB, free: 2.559 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003129/0.2734, allocations: 301.2 kB / 361.6 MB, free: 2.211 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001147/0.2735, allocations: 60.12 kB / 361.7 MB, free: 2.152 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001967/0.2755, allocations: 1.604 MB / 363.3 MB, free: 268 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.516e-05/0.2755, allocations: 7.938 kB / 363.3 MB, free: 260 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.798e-05/0.2755, allocations: 28 kB / 363.3 MB, free: 232 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.593e-05/0.2756, allocations: 12 kB / 363.3 MB, free: 220 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001462/0.277, allocations: 0.5946 MB / 363.9 MB, free: 15.62 MB / 334.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.003169/0.2802, allocations: 1.523 MB / 365.5 MB, free: 14.06 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001334/0.2815, allocations: 0.5818 MB / 366 MB, free: 13.47 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007968/0.2823, allocations: 366.3 kB / 366.4 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.905e-05/0.2824, allocations: 12.66 kB / 366.4 MB, free: 13.1 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.461e-05/0.2824, allocations: 51.22 kB / 366.5 MB, free: 13.04 MB / 334.1 MB Notification: Performance of pre-optimization done (n=73): time 2.264e-06/0.2824, allocations: 0 / 366.5 MB, free: 13.04 MB / 334.1 MB Notification: Performance of matching and sorting (n=73): time 0.005134/0.2876, allocations: 1.488 MB / 367.9 MB, free: 11.53 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005309/0.2881, allocations: 0.8234 MB / 368.8 MB, free: 10.51 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008379/0.2889, allocations: 0.6019 MB / 369.4 MB, free: 9.902 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.047e-05/0.289, allocations: 45.7 kB / 369.4 MB, free: 9.852 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003414/0.2894, allocations: 345.2 kB / 369.7 MB, free: 9.512 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002556/0.2896, allocations: 265.7 kB / 370 MB, free: 9.25 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002434/0.2899, allocations: 142.7 kB / 370.1 MB, free: 9.105 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002298/0.2901, allocations: 382.8 kB / 370.5 MB, free: 8.723 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000756/0.2908, allocations: 355 kB / 370.9 MB, free: 8.359 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001509/0.2923, allocations: 1.387 MB / 372.3 MB, free: 6.664 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00146/0.2938, allocations: 0.6779 MB / 372.9 MB, free: 5.961 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.2938, allocations: 0 / 372.9 MB, free: 5.961 MB / 334.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002859/0.2967, allocations: 1.17 MB / 374.1 MB, free: 4.734 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.078e-05/0.2968, allocations: 93.05 kB / 374.2 MB, free: 4.625 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.2968, allocations: 0 / 374.2 MB, free: 4.625 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000726/0.2975, allocations: 231.3 kB / 374.4 MB, free: 4.387 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000647/0.2981, allocations: 139.8 kB / 374.6 MB, free: 4.25 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01044/0.3086, allocations: 6.388 MB / 380.9 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001441/0.31, allocations: 95.56 kB / 381 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.759e-05/0.3101, allocations: 23.94 kB / 381.1 MB, free: 13.34 MB / 350.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.0005671/0.3107, allocations: 221.8 kB / 381.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002416/0.3109, allocations: 91.42 kB / 381.4 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002544/0.3112, allocations: 95 kB / 381.5 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.3112, allocations: 4 kB / 381.5 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.889e-06/0.3112, allocations: 4 kB / 381.5 MB, free: 12.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004057/0.3152, allocations: 1.229 MB / 382.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006141/0.3214, allocations: 1.674 MB / 384.4 MB, free: 9.852 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.763e-06/0.3214, allocations: 0 / 384.4 MB, free: 9.852 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001136/0.3225, allocations: 135.8 kB / 384.5 MB, free: 9.719 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009057/0.3234, allocations: 206.4 kB / 384.7 MB, free: 9.508 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.824e-05/0.3235, allocations: 12 kB / 384.7 MB, free: 9.496 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0104/0.3339, allocations: 4.941 MB / 389.7 MB, free: 4.246 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.3339, allocations: 0 / 389.7 MB, free: 4.246 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005322/0.3392, allocations: 1.4 MB / 391.1 MB, free: 2.824 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006992/0.3399, allocations: 163.3 kB / 391.2 MB, free: 2.664 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002683/0.3402, allocations: 12 kB / 391.2 MB, free: 2.652 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001164/0.3414, allocations: 55.94 kB / 391.3 MB, free: 2.598 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002811/0.3417, allocations: 64.55 kB / 391.3 MB, free: 2.535 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.573e-05/0.3417, allocations: 19.98 kB / 391.4 MB, free: 2.516 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009908/0.3427, allocations: 435.1 kB / 391.8 MB, free: 2.094 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3427, allocations: 0 / 391.8 MB, free: 2.094 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001606/0.3443, allocations: 279.8 kB / 392.1 MB, free: 1.82 MB / 350.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.0002608/0.3446, allocations: 123.1 kB / 392.2 MB, free: 1.688 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00381/0.3484, allocations: 1.396 MB / 393.6 MB, free: 188 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 9.418e-06/0.3484, allocations: 4 kB / 393.6 MB, free: 184 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002207/0.3506, allocations: 0.7379 MB / 394.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001876/0.3525, allocations: 238.7 kB / 394.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004768/0.3573, allocations: 1.613 MB / 396.2 MB, free: 13.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006555/0.3579, allocations: 345.7 kB / 396.5 MB, free: 13.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0008242/0.3587, allocations: 102.2 kB / 396.6 MB, free: 13.06 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003052/0.359, allocations: 64.48 kB / 396.7 MB, free: 12.99 MB / 366.1 MB Notification: Performance of SimCode: time 1.923e-06/0.359, allocations: 4 kB / 396.7 MB, free: 12.99 MB / 366.1 MB Notification: Performance of Templates: time 0.04033/0.3994, allocations: 19.19 MB / 415.9 MB, free: 9.746 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TwoMass/TwoMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.358785751042888]