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.001529/0.001529, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.001576/0.001576, allocations: 208.3 kB / 20.75 MB, free: 2.273 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.51/1.51, allocations: 230.6 MB / 254.1 MB, free: 15.09 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.001534/0.001534, allocations: 47.92 kB / 373.5 MB, free: 9.699 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09512/0.09665, allocations: 53.33 MB / 426.8 MB, free: 4.273 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.005066/0.1017, allocations: 3.702 MB / 430.5 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2064/0.3081, allocations: 1.001 MB / 431.5 MB, free: 8.074 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002995/0.3084, allocations: 7.5 kB / 431.5 MB, free: 8.074 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003437/0.3088, allocations: 113.5 kB / 431.6 MB, free: 8.074 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003864/0.3092, allocations: 200.8 kB / 431.8 MB, free: 8.074 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003063/0.3095, allocations: 132.5 kB / 431.9 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007105/0.3102, allocations: 0.6825 MB / 432.6 MB, free: 7.934 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002373/0.3104, allocations: 121.1 kB / 432.7 MB, free: 7.902 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002912/0.3107, allocations: 269.1 kB / 433 MB, free: 7.852 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002773/0.311, allocations: 295.1 kB / 433.3 MB, free: 7.789 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.86e-05/0.3111, allocations: 59.97 kB / 433.4 MB, free: 7.789 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.3112, allocations: 59.12 kB / 433.4 MB, free: 7.789 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.842e-05/0.3112, allocations: 126.2 kB / 433.5 MB, free: 7.766 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000249/0.3115, allocations: 305.6 kB / 433.8 MB, free: 7.684 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006421/0.3121, allocations: 0.7039 MB / 434.5 MB, free: 7.566 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.3121, allocations: 0 / 434.5 MB, free: 7.566 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3121, allocations: 0.7969 kB / 434.5 MB, free: 7.566 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.486e-05/0.3121, allocations: 0 / 434.5 MB, free: 7.566 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.001446/0.3136, allocations: 0.9065 MB / 435.4 MB, free: 6.965 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.3136, allocations: 9.938 kB / 435.5 MB, free: 6.965 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001198/0.3137, allocations: 73.88 kB / 435.5 MB, free: 6.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006592/0.3144, allocations: 435.3 kB / 436 MB, free: 6.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.394e-05/0.3145, allocations: 56.75 kB / 436 MB, free: 6.629 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.503e-05/0.3146, allocations: 31 kB / 436 MB, free: 6.629 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008304/0.3154, allocations: 493.8 kB / 436.5 MB, free: 6.449 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.3154, allocations: 3.953 kB / 436.5 MB, free: 6.445 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.21e-05/0.3155, allocations: 14.03 kB / 436.5 MB, free: 6.445 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.3155, allocations: 8.219 kB / 436.5 MB, free: 6.445 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008808/0.3163, allocations: 340.5 kB / 436.9 MB, free: 6.43 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.002027/0.3184, allocations: 1.287 MB / 438.2 MB, free: 5.602 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007061/0.3191, allocations: 353.8 kB / 438.5 MB, free: 5.402 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004141/0.3195, allocations: 163 kB / 438.7 MB, free: 5.344 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.556e-05/0.3195, allocations: 12.56 kB / 438.7 MB, free: 5.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.3196, allocations: 42.88 kB / 438.7 MB, free: 5.293 MB / 350.1 MB Notification: Performance of pre-optimization done (n=35): time 1.573e-06/0.3196, allocations: 3.938 kB / 438.7 MB, free: 5.289 MB / 350.1 MB Notification: Performance of matching and sorting (n=35): time 0.00168/0.3212, allocations: 0.7216 MB / 439.4 MB, free: 4.875 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.671e-05/0.3213, allocations: 452.5 kB / 439.9 MB, free: 4.336 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005178/0.3218, allocations: 455.1 kB / 440.3 MB, free: 4.129 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.386e-05/0.3219, allocations: 32.02 kB / 440.4 MB, free: 4.094 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001564/0.322, allocations: 246 kB / 440.6 MB, free: 3.891 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.015e-05/0.3221, allocations: 130 kB / 440.7 MB, free: 3.789 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001328/0.3222, allocations: 78.91 kB / 440.8 MB, free: 3.742 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.764e-05/0.3223, allocations: 361.5 kB / 441.2 MB, free: 3.406 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004041/0.3227, allocations: 137.1 kB / 441.3 MB, free: 3.363 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004787/0.3232, allocations: 284.1 kB / 441.6 MB, free: 3.156 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007846/0.324, allocations: 335.3 kB / 441.9 MB, free: 3 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.324, allocations: 0 / 441.9 MB, free: 3 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001042/0.325, allocations: 491 kB / 442.4 MB, free: 2.766 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.154e-05/0.3251, allocations: 31.2 kB / 442.4 MB, free: 2.734 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.3251, allocations: 0.6562 kB / 442.4 MB, free: 2.734 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001871/0.3253, allocations: 50.72 kB / 442.5 MB, free: 2.707 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004905/0.3257, allocations: 85.78 kB / 442.5 MB, free: 2.699 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002104/0.3278, allocations: 2.955 MB / 445.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005292/0.3284, allocations: 56.62 kB / 445.6 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.893e-05/0.3284, allocations: 18.11 kB / 445.6 MB, free: 15.75 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.0002571/0.3287, allocations: 172.6 kB / 445.7 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.3288, allocations: 58.39 kB / 445.8 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001138/0.3289, allocations: 52.03 kB / 445.9 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.3289, allocations: 4.062 kB / 445.9 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.3289, allocations: 4 kB / 445.9 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001142/0.33, allocations: 0.7262 MB / 446.6 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001899/0.3319, allocations: 1.009 MB / 447.6 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.3319, allocations: 3.609 kB / 447.6 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004705/0.3324, allocations: 89.28 kB / 447.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.3324, allocations: 1.094 kB / 447.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.979e-05/0.3325, allocations: 10.92 kB / 447.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.3325, allocations: 2.719 kB / 447.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3325, allocations: 4 kB / 447.7 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00144/0.3339, allocations: 0.6529 MB / 448.4 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002565/0.3342, allocations: 167.4 kB / 448.5 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/0.3343, allocations: 16.11 kB / 448.5 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004077/0.3347, allocations: 26.02 kB / 448.6 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.517e-05/0.3347, allocations: 27.11 kB / 448.6 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.192e-05/0.3348, allocations: 6.844 kB / 448.6 MB, free: 13.79 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004308/0.3352, allocations: 326.6 kB / 448.9 MB, free: 13.63 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3352, allocations: 0 / 448.9 MB, free: 13.63 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005194/0.3357, allocations: 138.8 kB / 449 MB, free: 13.61 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.000149/0.3359, allocations: 119.2 kB / 449.2 MB, free: 13.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001358/0.3372, allocations: 0.6177 MB / 449.8 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.3372, allocations: 1.156 kB / 449.8 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004602/0.3377, allocations: 173 kB / 450 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.0007299/0.3384, allocations: 141.2 kB / 450.1 MB, free: 13.01 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001731/0.3402, allocations: 0.9345 MB / 451 MB, free: 12.46 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004452/0.3406, allocations: 0.8223 MB / 451.8 MB, free: 11.76 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002649/0.3409, allocations: 64.95 kB / 451.9 MB, free: 11.75 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001299/0.341, allocations: 45.36 kB / 452 MB, free: 11.73 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.341, allocations: 0 / 452 MB, free: 11.73 MB / 366.1 MB Notification: Performance of Templates: time 0.01754/0.3585, allocations: 9.042 MB / 461 MB, free: 8.703 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/OneMass/OneMass.csv","/var/lib/jenkins/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: 4.8499263152480125]