Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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.001592/0.001592, allocations: 84.88 kB / 22 MB, free: 4.754 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.001638/0.001638, allocations: 153.8 kB / 25.24 MB, free: 2.746 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.339/1.339, allocations: 158.6 MB / 187 MB, free: 6.316 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.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") [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.001841/0.001841, allocations: 54.73 kB / 299.4 MB, free: 6.875 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2556/0.2574, allocations: 49.14 MB / 348.5 MB, free: 15.54 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.005343/0.2628, allocations: 3.345 MB / 351.8 MB, free: 12.18 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002034/0.2648, allocations: 0.9703 MB / 352.8 MB, free: 11.2 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002308/0.265, allocations: 15.94 kB / 352.8 MB, free: 11.19 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003927/0.2654, allocations: 103.1 kB / 352.9 MB, free: 11.09 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004654/0.2659, allocations: 198.3 kB / 353.1 MB, free: 10.89 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003187/0.2662, allocations: 139.8 kB / 353.3 MB, free: 10.75 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008588/0.2671, allocations: 0.677 MB / 353.9 MB, free: 10.07 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002732/0.2674, allocations: 122.9 kB / 354.1 MB, free: 9.945 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000341/0.2677, allocations: 267 kB / 354.3 MB, free: 9.684 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003893/0.2681, allocations: 258.7 kB / 354.6 MB, free: 9.43 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001037/0.2682, allocations: 56 kB / 354.6 MB, free: 9.375 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000113/0.2683, allocations: 60 kB / 354.7 MB, free: 9.316 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001467/0.2685, allocations: 119.6 kB / 354.8 MB, free: 9.199 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000327/0.2688, allocations: 266.8 kB / 355.1 MB, free: 8.938 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008456/0.2696, allocations: 0.7027 MB / 355.8 MB, free: 8.238 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.2696, allocations: 3.938 kB / 355.8 MB, free: 8.234 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2696, allocations: 0 / 355.8 MB, free: 8.234 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.148e-06/0.2696, allocations: 0 / 355.8 MB, free: 8.234 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001679/0.2713, allocations: 0.8293 MB / 356.6 MB, free: 7.367 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.2714, allocations: 15.98 kB / 356.6 MB, free: 7.352 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001313/0.2715, allocations: 72.5 kB / 356.7 MB, free: 7.281 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007908/0.2723, allocations: 381 kB / 357.1 MB, free: 6.883 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001399/0.2724, allocations: 106.3 kB / 357.2 MB, free: 6.762 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.164e-05/0.2725, allocations: 36.36 kB / 357.2 MB, free: 6.727 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001203/0.2737, allocations: 0.858 MB / 358 MB, free: 5.719 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.591e-05/0.2737, allocations: 7.875 kB / 358.1 MB, free: 5.711 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.206e-05/0.2737, allocations: 20 kB / 358.1 MB, free: 5.691 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.227e-05/0.2738, allocations: 8 kB / 358.1 MB, free: 5.684 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000916/0.2747, allocations: 330.4 kB / 358.4 MB, free: 5.363 MB / 318.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.001965/0.2766, allocations: 0.9402 MB / 359.3 MB, free: 4.379 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007226/0.2774, allocations: 282.4 kB / 359.6 MB, free: 4.094 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004348/0.2778, allocations: 164.7 kB / 359.8 MB, free: 3.93 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.295e-05/0.2778, allocations: 8 kB / 359.8 MB, free: 3.922 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.09e-05/0.2779, allocations: 42.5 kB / 359.8 MB, free: 3.871 MB / 318.1 MB Notification: Performance of pre-optimization done (n=35): time 1.994e-06/0.2779, allocations: 0 / 359.8 MB, free: 3.871 MB / 318.1 MB Notification: Performance of matching and sorting (n=35): time 0.001751/0.2796, allocations: 0.5655 MB / 360.4 MB, free: 3.293 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003323/0.28, allocations: 452.9 kB / 360.8 MB, free: 2.746 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005836/0.2806, allocations: 422 kB / 361.3 MB, free: 2.332 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.499e-05/0.2806, allocations: 33.7 kB / 361.3 MB, free: 2.293 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002618/0.2809, allocations: 248.5 kB / 361.5 MB, free: 2.043 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001375/0.281, allocations: 134.9 kB / 361.7 MB, free: 1.91 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001634/0.2812, allocations: 77.69 kB / 361.7 MB, free: 1.828 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000226/0.2814, allocations: 358.7 kB / 362.1 MB, free: 1.469 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004266/0.2818, allocations: 161.6 kB / 362.2 MB, free: 1.305 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009015/0.2827, allocations: 0.6815 MB / 362.9 MB, free: 480 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009214/0.2836, allocations: 341.2 kB / 363.3 MB, free: 128 kB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.2836, allocations: 0 / 363.3 MB, free: 128 kB / 318.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001259/0.2849, allocations: 0.496 MB / 363.8 MB, free: 15.61 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.226e-05/0.285, allocations: 37.84 kB / 363.8 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.285, allocations: 0 / 363.8 MB, free: 15.56 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001887/0.2852, allocations: 53.62 kB / 363.8 MB, free: 15.5 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004083/0.2856, allocations: 87.88 kB / 363.9 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003055/0.2886, allocations: 2.704 MB / 366.6 MB, free: 12.51 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000488/0.2891, allocations: 51.8 kB / 366.7 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.309e-05/0.2891, allocations: 8 kB / 366.7 MB, free: 12.45 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (37): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000305/0.2894, allocations: 174 kB / 366.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.2896, allocations: 51.72 kB / 366.9 MB, free: 12.22 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001165/0.2897, allocations: 60.55 kB / 367 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.2897, allocations: 4 kB / 367 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.2897, allocations: 0 / 367 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001076/0.2908, allocations: 0.7205 MB / 367.7 MB, free: 11.33 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001685/0.2924, allocations: 0.8605 MB / 368.6 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.2924, allocations: 3.938 kB / 368.6 MB, free: 10.42 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004492/0.2929, allocations: 91.88 kB / 368.7 MB, free: 10.33 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.2929, allocations: 4 kB / 368.7 MB, free: 10.33 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.552e-05/0.2929, allocations: 8 kB / 368.7 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.2929, allocations: 3.984 kB / 368.7 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.2929, allocations: 0 / 368.7 MB, free: 10.32 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001351/0.2943, allocations: 0.6492 MB / 369.3 MB, free: 9.648 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001896/0.2945, allocations: 83.56 kB / 369.4 MB, free: 9.566 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.715e-05/0.2945, allocations: 11.98 kB / 369.4 MB, free: 9.555 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003643/0.2949, allocations: 31.97 kB / 369.4 MB, free: 9.523 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.029e-05/0.295, allocations: 27.81 kB / 369.5 MB, free: 9.496 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-05/0.295, allocations: 4 kB / 369.5 MB, free: 9.492 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003973/0.2954, allocations: 315.1 kB / 369.8 MB, free: 9.188 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2954, allocations: 0 / 369.8 MB, free: 9.188 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004609/0.2958, allocations: 135.9 kB / 369.9 MB, free: 9.055 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.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 (35): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001421/0.296, allocations: 107.2 kB / 370 MB, free: 8.941 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001332/0.2973, allocations: 0.6508 MB / 370.7 MB, free: 8.246 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.2973, allocations: 64 / 370.7 MB, free: 8.246 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004147/0.2977, allocations: 163.7 kB / 370.8 MB, free: 8.086 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000702/0.2984, allocations: 137.5 kB / 371 MB, free: 7.949 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00179/0.3002, allocations: 0.9393 MB / 371.9 MB, free: 6.98 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002429/0.3005, allocations: 224.5 kB / 372.1 MB, free: 6.738 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002427/0.3007, allocations: 60.23 kB / 372.2 MB, free: 6.68 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/0.3008, allocations: 40.5 kB / 372.2 MB, free: 6.641 MB / 334.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3008, allocations: 0 / 372.2 MB, free: 6.641 MB / 334.1 MB Notification: Performance of Templates: time 0.01786/0.3187, allocations: 9.336 MB / 381.6 MB, free: 13.29 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.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: 4.699976147967391]