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.001702/0.001702, allocations: 92.31 kB / 20.96 MB, free: 3.473 MB / 18.57 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.002039/0.002039, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 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.471/1.471, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 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 1.322e-06/1.322e-06, allocations: 0 / 272.3 MB, free: 1.836 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.826e-05/2.959e-05, allocations: 2.312 kB / 272.3 MB, free: 1.832 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.OneMass): time 0.005257/0.005286, allocations: 3.378 MB / 275.7 MB, free: 14.44 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001803/0.00709, allocations: 0.9617 MB / 276.6 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001848/0.007274, allocations: 7.938 kB / 276.7 MB, free: 13.46 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003321/0.007607, allocations: 107.1 kB / 276.8 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004473/0.008054, allocations: 218.1 kB / 277 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003047/0.008359, allocations: 135.7 kB / 277.1 MB, free: 13.01 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008738/0.009233, allocations: 0.7078 MB / 277.8 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002445/0.009477, allocations: 122.9 kB / 277.9 MB, free: 12.17 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004835/0.00996, allocations: 395.1 kB / 278.3 MB, free: 11.79 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003476/0.01031, allocations: 219.4 kB / 278.5 MB, free: 11.57 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.757e-05/0.01041, allocations: 56 kB / 278.6 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001048/0.01051, allocations: 56 kB / 278.6 MB, free: 11.46 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001391/0.01065, allocations: 131.5 kB / 278.8 MB, free: 11.33 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002754/0.01093, allocations: 219.5 kB / 279 MB, free: 11.12 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008677/0.01179, allocations: 0.7165 MB / 279.7 MB, free: 10.4 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.0118, allocations: 0 / 279.7 MB, free: 10.4 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.0118, allocations: 0 / 279.7 MB, free: 10.4 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.013e-05/0.01181, allocations: 7.984 kB / 279.7 MB, free: 10.39 MB / 266.7 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.001696/0.0135, allocations: 0.8255 MB / 280.5 MB, free: 9.527 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.01354, allocations: 8.031 kB / 280.5 MB, free: 9.52 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001892/0.01373, allocations: 96.52 kB / 280.6 MB, free: 9.426 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008026/0.01453, allocations: 372.3 kB / 281 MB, free: 9.035 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001498/0.01468, allocations: 114.3 kB / 281.1 MB, free: 8.906 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.591e-05/0.01477, allocations: 40.38 kB / 281.2 MB, free: 8.867 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001237/0.016, allocations: 0.8506 MB / 282 MB, free: 7.867 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/0.01602, allocations: 192 / 282 MB, free: 7.867 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.951e-05/0.01607, allocations: 20.12 kB / 282 MB, free: 7.848 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.647e-06/0.01608, allocations: 8 kB / 282 MB, free: 7.84 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009/0.01698, allocations: 334.4 kB / 282.4 MB, free: 7.516 MB / 266.7 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.002024/0.019, allocations: 0.9558 MB / 283.3 MB, free: 6.523 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007181/0.01972, allocations: 282.4 kB / 283.6 MB, free: 6.238 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000439/0.02016, allocations: 169.3 kB / 283.8 MB, free: 6.07 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.886e-05/0.0202, allocations: 11.94 kB / 283.8 MB, free: 6.059 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.007e-05/0.02024, allocations: 42.42 kB / 283.8 MB, free: 6.008 MB / 266.7 MB Notification: Performance of pre-optimization done (n=35): time 1.222e-06/0.02024, allocations: 0 / 283.8 MB, free: 6.008 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.001711/0.02195, allocations: 0.5791 MB / 284.4 MB, free: 5.418 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003019/0.02225, allocations: 449 kB / 284.8 MB, free: 4.875 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005473/0.0228, allocations: 426 kB / 285.2 MB, free: 4.453 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.457e-05/0.02284, allocations: 33.7 kB / 285.3 MB, free: 4.414 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002328/0.02308, allocations: 248.5 kB / 285.5 MB, free: 4.168 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/0.02321, allocations: 126.9 kB / 285.6 MB, free: 4.043 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001601/0.02337, allocations: 77.69 kB / 285.7 MB, free: 3.961 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002172/0.02359, allocations: 354.8 kB / 286.1 MB, free: 3.605 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004328/0.02402, allocations: 161.6 kB / 286.2 MB, free: 3.441 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008697/0.02489, allocations: 0.6855 MB / 286.9 MB, free: 2.602 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008484/0.02574, allocations: 337.1 kB / 287.2 MB, free: 2.262 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.02574, allocations: 0 / 287.2 MB, free: 2.262 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001206/0.02695, allocations: 0.5231 MB / 287.8 MB, free: 1.715 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.319e-05/0.02699, allocations: 33.7 kB / 287.8 MB, free: 1.676 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.02699, allocations: 0 / 287.8 MB, free: 1.676 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000173/0.02717, allocations: 53.69 kB / 287.8 MB, free: 1.617 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004262/0.02759, allocations: 75.89 kB / 287.9 MB, free: 1.543 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002976/0.03057, allocations: 2.712 MB / 290.6 MB, free: 14.62 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004218/0.03099, allocations: 47.84 kB / 290.7 MB, free: 14.57 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.214e-05/0.03102, allocations: 16.14 kB / 290.7 MB, free: 14.56 MB / 282.7 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.0002314/0.03125, allocations: 169.8 kB / 290.9 MB, free: 14.38 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/0.03138, allocations: 71.61 kB / 290.9 MB, free: 14.31 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001018/0.03148, allocations: 48.58 kB / 291 MB, free: 14.27 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.03149, allocations: 4 kB / 291 MB, free: 14.26 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.03149, allocations: 0 / 291 MB, free: 14.26 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001149/0.03264, allocations: 0.7348 MB / 291.7 MB, free: 13.42 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001676/0.03432, allocations: 0.8411 MB / 292.6 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.03432, allocations: 3.984 kB / 292.6 MB, free: 12.54 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004654/0.03479, allocations: 87.94 kB / 292.6 MB, free: 12.45 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.03479, allocations: 0 / 292.6 MB, free: 12.45 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.734e-05/0.03482, allocations: 11.94 kB / 292.7 MB, free: 12.44 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.03482, allocations: 3.938 kB / 292.7 MB, free: 12.43 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.03482, allocations: 0 / 292.7 MB, free: 12.43 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001404/0.03622, allocations: 0.6645 MB / 293.3 MB, free: 11.75 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001913/0.03642, allocations: 91.56 kB / 293.4 MB, free: 11.66 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.581e-05/0.03648, allocations: 16 kB / 293.4 MB, free: 11.65 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003796/0.03686, allocations: 27.97 kB / 293.5 MB, free: 11.62 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.942e-05/0.03694, allocations: 23.95 kB / 293.5 MB, free: 11.6 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-05/0.03696, allocations: 4 kB / 293.5 MB, free: 11.59 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003817/0.03734, allocations: 311.1 kB / 293.8 MB, free: 11.29 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.03734, allocations: 4.062 kB / 293.8 MB, free: 11.29 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004688/0.03781, allocations: 139.8 kB / 293.9 MB, free: 11.15 MB / 282.7 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.000148/0.03796, allocations: 103.2 kB / 294 MB, free: 11.04 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001339/0.0393, allocations: 0.6463 MB / 294.7 MB, free: 10.35 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.0393, allocations: 7.938 kB / 294.7 MB, free: 10.34 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004387/0.03974, allocations: 159.8 kB / 294.8 MB, free: 10.18 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000675/0.04042, allocations: 147 kB / 295 MB, free: 10.04 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001659/0.04208, allocations: 0.8752 MB / 295.9 MB, free: 9.129 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000248/0.04232, allocations: 224.5 kB / 296.1 MB, free: 8.883 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002337/0.04256, allocations: 56.25 kB / 296.1 MB, free: 8.828 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/0.04268, allocations: 48.5 kB / 296.2 MB, free: 8.781 MB / 282.7 MB Notification: Performance of SimCode: time 4.31e-07/0.04269, allocations: 0 / 296.2 MB, free: 8.781 MB / 282.7 MB Notification: Performance of Templates: time 0.1222/0.1648, allocations: 9.282 MB / 305.5 MB, free: 43.2 MB / 282.7 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.661961234989576]