Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001689/0.001689, allocations: 114 kB / 18.46 MB, free: 4.562 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.00184/0.00184, allocations: 213.6 kB / 21.42 MB, free: 1.605 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 1.524/1.524, allocations: 230.6 MB / 254.8 MB, free: 15.08 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.OneMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001486/0.001486, allocations: 55.89 kB / 374.2 MB, free: 9.691 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1037, allocations: 53.32 MB / 427.5 MB, free: 4.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.005178/0.1089, allocations: 3.695 MB / 431.2 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2062/0.315, allocations: 1.008 MB / 432.2 MB, free: 8.055 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003478/0.3154, allocations: 9.719 kB / 432.2 MB, free: 8.055 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003611/0.3158, allocations: 108.5 kB / 432.3 MB, free: 8.055 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000418/0.3162, allocations: 203.6 kB / 432.5 MB, free: 8.055 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002998/0.3165, allocations: 134.9 kB / 432.6 MB, free: 8.051 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007318/0.3172, allocations: 0.6758 MB / 433.3 MB, free: 7.906 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002389/0.3174, allocations: 128.5 kB / 433.4 MB, free: 7.875 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003093/0.3178, allocations: 268.7 kB / 433.7 MB, free: 7.828 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000287/0.318, allocations: 296.3 kB / 434 MB, free: 7.762 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.173e-05/0.3181, allocations: 59.06 kB / 434 MB, free: 7.762 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.545e-05/0.3182, allocations: 57.56 kB / 434.1 MB, free: 7.762 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.318e-05/0.3183, allocations: 129.1 kB / 434.2 MB, free: 7.742 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000246/0.3185, allocations: 307.1 kB / 434.5 MB, free: 7.656 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000696/0.3192, allocations: 0.6964 MB / 435.2 MB, free: 7.543 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.3192, allocations: 1.344 kB / 435.2 MB, free: 7.543 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3192, allocations: 0 / 435.2 MB, free: 7.543 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.178e-05/0.3193, allocations: 0 / 435.2 MB, free: 7.543 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001533/0.3208, allocations: 0.911 MB / 436.1 MB, free: 6.938 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.219e-05/0.3208, allocations: 12.44 kB / 436.1 MB, free: 6.938 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001322/0.321, allocations: 71.16 kB / 436.2 MB, free: 6.902 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007135/0.3217, allocations: 432.5 kB / 436.6 MB, free: 6.633 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.511e-05/0.3218, allocations: 62.08 kB / 436.7 MB, free: 6.602 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.958e-05/0.3218, allocations: 34.22 kB / 436.7 MB, free: 6.602 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008109/0.3226, allocations: 480.8 kB / 437.2 MB, free: 6.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.755e-05/0.3227, allocations: 3.953 kB / 437.2 MB, free: 6.426 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.166e-05/0.3227, allocations: 17.84 kB / 437.2 MB, free: 6.426 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.3227, allocations: 8 kB / 437.2 MB, free: 6.426 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000862/0.3236, allocations: 344.2 kB / 437.6 MB, free: 6.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.002014/0.3256, allocations: 1.286 MB / 438.8 MB, free: 5.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006753/0.3263, allocations: 349.4 kB / 439.2 MB, free: 5.395 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003988/0.3267, allocations: 163.9 kB / 439.3 MB, free: 5.336 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.907e-05/0.3267, allocations: 14.62 kB / 439.4 MB, free: 5.328 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.852e-05/0.3267, allocations: 42.47 kB / 439.4 MB, free: 5.281 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 2.004e-06/0.3267, allocations: 3.938 kB / 439.4 MB, free: 5.277 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.001614/0.3283, allocations: 0.7198 MB / 440.1 MB, free: 4.863 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.02e-05/0.3284, allocations: 448.1 kB / 440.6 MB, free: 4.328 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005242/0.3289, allocations: 453.5 kB / 441 MB, free: 4.121 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.867e-05/0.329, allocations: 37.98 kB / 441 MB, free: 4.082 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.3291, allocations: 244.8 kB / 441.3 MB, free: 3.879 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.942e-05/0.3292, allocations: 136.1 kB / 441.4 MB, free: 3.777 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001319/0.3293, allocations: 76.75 kB / 441.5 MB, free: 3.734 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.467e-05/0.3294, allocations: 363.5 kB / 441.8 MB, free: 3.395 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003869/0.3298, allocations: 133.9 kB / 442 MB, free: 3.355 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004872/0.3303, allocations: 286.9 kB / 442.3 MB, free: 3.145 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00078/0.3311, allocations: 330.2 kB / 442.6 MB, free: 2.992 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.3311, allocations: 1.828 kB / 442.6 MB, free: 2.992 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001036/0.3321, allocations: 493.7 kB / 443.1 MB, free: 2.754 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.968e-05/0.3321, allocations: 31.7 kB / 443.1 MB, free: 2.723 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.3322, allocations: 1.656 kB / 443.1 MB, free: 2.723 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002156/0.3324, allocations: 51.73 kB / 443.1 MB, free: 2.695 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000467/0.3328, allocations: 84.48 kB / 443.2 MB, free: 2.688 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002371/0.3352, allocations: 2.953 MB / 446.2 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005883/0.3358, allocations: 54.8 kB / 446.2 MB, free: 15.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.408e-05/0.3358, allocations: 17.94 kB / 446.2 MB, free: 15.74 MB / 366.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.0003312/0.3362, allocations: 172.9 kB / 446.4 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/0.3363, allocations: 55.88 kB / 446.5 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001179/0.3364, allocations: 50.69 kB / 446.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.3364, allocations: 4.688 kB / 446.5 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.3364, allocations: 4 kB / 446.5 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0011/0.3375, allocations: 0.7294 MB / 447.3 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00219/0.3397, allocations: 1.015 MB / 448.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.3397, allocations: 0 / 448.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004592/0.3402, allocations: 85.55 kB / 448.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.3402, allocations: 5.031 kB / 448.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.091e-05/0.3402, allocations: 11.14 kB / 448.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.803e-06/0.3402, allocations: 4.266 kB / 448.4 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3402, allocations: 7.938 kB / 448.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001429/0.3416, allocations: 0.6464 MB / 449 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000263/0.3419, allocations: 168.6 kB / 449.2 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.287e-05/0.342, allocations: 15.34 kB / 449.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003912/0.3424, allocations: 25.7 kB / 449.2 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.689e-05/0.3425, allocations: 23.86 kB / 449.3 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.464e-05/0.3425, allocations: 11.75 kB / 449.3 MB, free: 13.78 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004313/0.3429, allocations: 325.2 kB / 449.6 MB, free: 13.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3429, allocations: 0 / 449.6 MB, free: 13.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005258/0.3434, allocations: 143.9 kB / 449.7 MB, free: 13.59 MB / 366.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.000165/0.3436, allocations: 115.1 kB / 449.8 MB, free: 13.49 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001339/0.3449, allocations: 0.6242 MB / 450.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.3449, allocations: 1.031 kB / 450.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004175/0.3454, allocations: 163.8 kB / 450.6 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007339/0.3461, allocations: 138.8 kB / 450.8 MB, free: 13 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001875/0.348, allocations: 0.9685 MB / 451.7 MB, free: 12.42 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004604/0.3484, allocations: 0.8234 MB / 452.6 MB, free: 11.71 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001726/0.3486, allocations: 48.45 kB / 452.6 MB, free: 11.7 MB / 366.1 MB Notification: Performance of SimCode: time 7.92e-07/0.3486, allocations: 0 / 452.6 MB, free: 11.7 MB / 366.1 MB Notification: Performance of Templates: time 0.01962/0.3682, allocations: 8.958 MB / 461.6 MB, free: 8.371 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 8.258490909996908]